wk-j / cake-server

https://www.nuget.org/packages/Cake.SimpleHTTPServer
1 stars 1 forks source link

Cannot be changed after headers are sent. #1

Closed wk-j closed 8 years ago

wk-j commented 8 years ago

Mono OS X

System.InvalidOperationException: Cannot be changed after headers are sent. at System.Net.HttpListenerResponse.set_StatusCode (Int32 value) [0x00027] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/System/System.Net/HttpListenerResponse.cs:216 at Cake.SimpleHTTPServer.CakeHttpServer.ProcessRequest (System.Net.HttpListenerContext context) [0x00197] in /Users/wk/Source/csharp/Cake.SimpleHTTPServer/Cake.SimpleHTTPServer/CakeHttpServer.cs:70 at Cake.SimpleHTTPServer.MultiThreadHttpServer.Worker () [0x0007e] in /Users/wk/Source/csharp/Cake.SimpleHTTPServer/Cake.SimpleHTTPServer/MultiThreadHttpServer.cs:76