A
ako...
Hello,
i am looking at cgi.rb module, and it looks like it produces valid HTTP
responses such as
HTTP/1.1 404 Not Found
Date: Tue, 29 Nov 2005 06:52:21 GMT\r\n
Content-Length: 0\r\n
Connection: close\r\n
Content-Type: text/html\r\n
\r\n
....
what i expected it to produce is CGI headers so that the web server (I
am using Apache) could interpret the CGI response correctly and act on
it:
Status: 404 Not Found\r\n
Content-Type: text/html\r\n
\r\n
....
has anyone used cgi.rb? i know rails, nitro etc use it. has anyone
noticed this? can this be controlled?
thanks
konstantin
i am looking at cgi.rb module, and it looks like it produces valid HTTP
responses such as
HTTP/1.1 404 Not Found
Date: Tue, 29 Nov 2005 06:52:21 GMT\r\n
Content-Length: 0\r\n
Connection: close\r\n
Content-Type: text/html\r\n
\r\n
....
what i expected it to produce is CGI headers so that the web server (I
am using Apache) could interpret the CGI response correctly and act on
it:
Status: 404 Not Found\r\n
Content-Type: text/html\r\n
\r\n
....
has anyone used cgi.rb? i know rails, nitro etc use it. has anyone
noticed this? can this be controlled?
thanks
konstantin