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