Annotation of libwww/Library/src/HTTPGen.html, revision 2.8

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.7       frystyk    22: a part of the <A HREF="http://www.w3.org/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"
2.8     ! vbancrof   30: 
        !            31: #ifdef __cplusplus
        !            32: extern "C" { 
        !            33: #endif 
2.1       frystyk    34: </PRE>
2.4       frystyk    35: <H3>
                     36:   Streams Definition
                     37: </H3>
                     38: <P>
                     39: This stream makes a general HTTP header before it goes into transparent mode.
                     40: If <CODE>endHeader</CODE> is YES then we send an empty <CODE>CRLF</CODE>
                     41: in order to end the header.
2.1       frystyk    42: <PRE>
                     43: extern HTStream * HTTPGen_new  (HTRequest * request, HTStream * target,
2.5       frystyk    44:                                BOOL endHeader, int version);
2.1       frystyk    45: </PRE>
                     46: <PRE>
2.8     ! vbancrof   47: #ifdef __cplusplus
        !            48: }
2.1       frystyk    49: #endif
2.8     ! vbancrof   50: 
        !            51: #endif  /* HTTPGEN_H */
2.1       frystyk    52: </PRE>
2.4       frystyk    53: <P>
                     54:   <HR>
2.3       frystyk    55: <ADDRESS>
2.8     ! vbancrof   56:   @(#) $Id: HTTPGen.html,v 2.7 1998/05/14 02:11:10 frystyk Exp $
2.3       frystyk    57: </ADDRESS>
2.4       frystyk    58: </BODY></HTML>

Webmaster