FastCGI Status line get replaced
Hi, I'm developing the FastCGI ASP.NET server for Mono and I've come into a problem. When serving a static file, the ASP.NET responds with the following:
HTTP/1.1 304 Not Modified
Date: Wed, 08 Aug 2007 10:25:33 GMT
Content-Type: text/html; charset=utf-8
However, WireShark is telling me that the actual response from the server is "HTTP/1.1 200 OK ...", so images, CSS, etc become a blank page every other refresh. Lighttpd should use the status code provided by the server response, as 300 level response give instructions to the client.
Updated by bnickel about 12 years ago
The above application starts a FastCGI server on port 9000 that responds to any request with:
HTTP/1.1 404 Not Found\r\nContent-type: text/html\r\n\r\nHi there
This request becomes "200 OK" when sent from Lighttpd to the browser. To run it, run "mono FastCgi301.exe".
I'll attach a tcpdump of the transaction.
Also available in: Atom