Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by ikegami (Patriarch)
on Mar 12, 2018 at 19:14 UTC ( [id://1210751]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1210751]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-06-18 04:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.