in reply to Re: CGI: newlines, write exactly "\r\n" to end the headers, then turn off binmode
in thread CGI: newlines, write exactly "\r\n" to end the headers, then turn off binmode

I'm not going to rely on a server to convert newlines to the HTTP 1.1 spec.

wut. Why would not rely on Apache sending a valid reponse?

t seems obvious to me that any http server would accept the header termination characters in the HTTP 1.1 spec?

Again, we're talking about a CGI response, not an HTTP response.

  • Comment on Re^2: CGI: newlines, write exactly "\r\n" to end the headers, then turn off binmode