Bug #1291
closedFastCGI Status line get replaced
Description
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-Length: 0
Cache-Control: private
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.
Files
Updated by bnickel over 17 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.
Updated by bnickel over 17 years ago
Oops. False alarm. I was sending the status incorrectly.
Updated by darix over 17 years ago
- Status changed from New to Fixed
- Resolution set to invalid
Also available in: Atom