W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 2000

Re: PROBLEM PARSING CGI HEADERS

From: Yves Lafon <ylafon@w3.org>
Date: Mon, 24 Apr 2000 11:57:09 +0200 (MET DST)
To: Wong Yew Peng <wong_yew_peng@ite.edu.sg>
cc: www-jigsaw@w3.org
Message-ID: <Pine.GSO.4.21.0004241154140.4289-100000@tarantula.inria.fr>
On Wed, 5 Apr 2000, Wong Yew Peng wrote:

> > Hey you know what ?  The CGI header must be as follows with the 2
> > additional  newline commands:
> 
> print "Content_type: text/html\n\n" ;
> 
> 

It should be Content-Type: text/html
and after the last header you should send an empty string (well containing
only \r\n).

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    
Received on Monday, 24 April 2000 05:57:16 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:07 UTC