No carriage returns?
Walter Landry <[email protected]> Tue, 28 Jan 2014 14:16:01 -0800 (PST)
| Newsgroups | gmane.comp.gcc.cgicc.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I was trying out cgicc, and I noticed that cgicc does not insert the
required carriage returns "\r". For example, in
http://www.gnu.org/software/cgicc/doc/cgicc_tutorial.html
the section "The HTTP Response" states
A standard HTML 4.0 document need only output a single header:
cout << cgicc::HTTPHTMLHeader() << endl;
This will generate the output
Content-Type: text/html\n\n
I thought that RFC 2068 mandates
Content-Type: text/html\r\n
Am I missing something?
Thanks,
Walter Landry
[email protected]