aboutsummaryrefslogtreecommitdiff
path: root/SocketHttpListener.Portable/Net/HttpListenerRequest.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-12 03:02:46 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-12 03:02:46 -0500
commit1714cb8764f2311fd255945d5a03d6b298f62071 (patch)
tree43b05abfdff0a4bb49258180798b5df8e0f07b81 /SocketHttpListener.Portable/Net/HttpListenerRequest.cs
parent6865bb53530abbf703b590dd39cfa27274b03107 (diff)
update response stream handling
Diffstat (limited to 'SocketHttpListener.Portable/Net/HttpListenerRequest.cs')
-rw-r--r--SocketHttpListener.Portable/Net/HttpListenerRequest.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/SocketHttpListener.Portable/Net/HttpListenerRequest.cs b/SocketHttpListener.Portable/Net/HttpListenerRequest.cs
index 63d5e510d..5631fc0a1 100644
--- a/SocketHttpListener.Portable/Net/HttpListenerRequest.cs
+++ b/SocketHttpListener.Portable/Net/HttpListenerRequest.cs
@@ -181,11 +181,11 @@ namespace SocketHttpListener.Net
if (String.Compare(Headers["Expect"], "100-continue", StringComparison.OrdinalIgnoreCase) == 0)
{
- ResponseStream output = context.Connection.GetResponseStream();
+ var output = context.Connection.GetResponseStream();
var _100continue = _textEncoding.GetASCIIEncoding().GetBytes("HTTP/1.1 100 Continue\r\n\r\n");
- output.InternalWrite(_100continue, 0, _100continue.Length);
+ //output.InternalWrite(_100continue, 0, _100continue.Length);
}
}