Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by rizzo (Curate)
on Mar 09, 2018 at 15:31 UTC ( [id://1210573]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    What is the correct form of response from a CGI script?
    ...
    ...
    
    Using CGI.pm gives excellent platform independence, including EBCDIC s
    +ystems. CGI.pm selects an appropriate newline representation ($CGI::C
    +RLF) and sets binmode as appropriate.
    
  2. or download this
    Few people today are aware of the EOL issue, because systems generally
    (but not always!) make it transparent.  For example, the RFC Editor
    stores the official RFC archive on a Unix system whose native EOL is a
    ...
    transmission across the Internet, and your FTP client in turn
    translates each CR LF into whatever the EOL convention of your
    system.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-03-28 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found