Annotation of libwww/Library/src/HTTPGen.html, revision 2.6
2.1 frystyk 1: <HTML>
2: <HEAD>
2.4 frystyk 3: <!-- Changed by: Henrik Frystyk Nielsen, 23-Mar-1996 -->
2.6 ! frystyk 4: <TITLE>W3C Sample Code Library libwww HTTP General Header Stream</TITLE>
2.1 frystyk 5: </HEAD>
6: <BODY>
2.4 frystyk 7: <H1>
8: HTTP General Header Stream
9: </H1>
2.3 frystyk 10: <PRE>
11: /*
12: ** (c) COPYRIGHT MIT 1995.
13: ** Please first read the full copyright statement in the file COPYRIGH.
14: */
15: </PRE>
2.4 frystyk 16: <P>
17: The HTTP General Header stream generates the general headers of a HTTP request
18: or response and writes it to the target which is normally either a HTTP response
19: stream or a HTTP request stream.
20: <P>
21: This module is implemented by <A HREF="HTTPGen.c">HTTPGen.c</A>, and it is
2.6 ! frystyk 22: a part of the <A HREF="http://www.w3.org/pub/WWW/Library/"> W3C Sample Code
2.4 frystyk 23: Library</A>.
2.1 frystyk 24: <PRE>
25: #ifndef HTTPGEN_H
26: #define HTTPGEN_H
27:
28: #include "HTStream.h"
29: #include "HTReq.h"
30: </PRE>
2.4 frystyk 31: <H3>
32: Streams Definition
33: </H3>
34: <P>
35: This stream makes a general HTTP header before it goes into transparent mode.
36: If <CODE>endHeader</CODE> is YES then we send an empty <CODE>CRLF</CODE>
37: in order to end the header.
2.1 frystyk 38: <PRE>
39: extern HTStream * HTTPGen_new (HTRequest * request, HTStream * target,
2.5 frystyk 40: BOOL endHeader, int version);
2.1 frystyk 41: </PRE>
42: <PRE>
43: #endif
44: </PRE>
2.4 frystyk 45: <P>
46: <HR>
2.3 frystyk 47: <ADDRESS>
2.6 ! frystyk 48: @(#) $Id: HTTPGen.html,v 2.5 1996/10/07 02:05:25 frystyk Exp $
2.3 frystyk 49: </ADDRESS>
2.4 frystyk 50: </BODY></HTML>
Webmaster