|
From: | Stephen F. Booth |
Subject: | RE: Cgicc 3.2 and Win95 |
Date: | Wed, 16 Jan 2002 11:22:50 -0500 |
Just to clarify the new class structure in
the HTTP header area a little bit: HTTPHeader is a base class for all 'simple' (headers that are parsed by the
server) HTTP headers that might be sent out. It adds support for an unlimited number
of cookies to be added to the header HTTPContentHeader is used to signify the MIME type of the data being returned HTTPHTMLHeader is a shortcut to HTTPContentHeader for
MIME data of type text/html HTTPPlainHeader is a shortcut to HTTPContentHeader for
MIME data of type text/plain HTTPRedirectHeader is used when you want to redirect the client to a new URI HTTPStatusHeader is used to return a 3-digit status code and message (404, not
found) HTTPResponseHeader is used for complete HTTP header construction according to RFC 2616. There is an example of using this class
in the contrib/ directory Finally, HTTPHeaders.h
is simply a convenience file you can include so you don't have to include all
the header files listed above. It
may be somewhat unnecessary, since it is unlikely a
user would send out more than one header type for a given script. But, I wanted a little bit of backward
compatibility. Hope this helps. -Stephen -----Original Message----- Cgicc
3.2 does not compile under Win9x. File names have changed from plural to
singular (HTMLElements, HTMLAttributes and HTTPHeaders), but not changed in the
project file. Other files are not included at all - HTMLElementList,
HTMLATtributeList, HTTPCookie... That is as far as I have got so far by
exporting the makefile and manually editing it. This will need to be recified. Quintin
|
[Prev in Thread] | Current Thread | [Next in Thread] |