aboutsummaryrefslogtreecommitdiff
path: root/SocketHttpListener/HttpResponse.cs
diff options
context:
space:
mode:
authorhawken <hawken@thehawken.org>2019-01-24 18:56:43 +0100
committerBond-009 <bond.009@outlook.com>2019-01-24 18:56:43 +0100
commit3701ce40375fc13987174f843b61b2d757d4a11f (patch)
treee00bf09e648844ad4b8d6c8c5823995ae8a64775 /SocketHttpListener/HttpResponse.cs
parentb2ffad9ce946544d87e285fd200c089b47bfb323 (diff)
Eliminate some compile warnings (#600)
* Remove some unused variables * remove duplicate "using .." by sorting and deduping the list * Remove things that already exist in the parent class (in one case I moved some documentation to the parent) * EntityBodyData and and NextSearch were never set (only read), removed * _timeout was never read, subsequently _timer became unused. part of a TODO timeout functionality that was not implemented yet
Diffstat (limited to 'SocketHttpListener/HttpResponse.cs')
-rw-r--r--SocketHttpListener/HttpResponse.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/SocketHttpListener/HttpResponse.cs b/SocketHttpListener/HttpResponse.cs
index bcfa4a906..d5d9b4a1c 100644
--- a/SocketHttpListener/HttpResponse.cs
+++ b/SocketHttpListener/HttpResponse.cs
@@ -115,10 +115,6 @@ namespace SocketHttpListener
output.Append(CrLf);
- var entity = EntityBody;
- if (entity.Length > 0)
- output.Append(entity);
-
return output.ToString();
}