Annotation of libwww/Library/src/HTTChunk.html, revision 2.2
2.1 frystyk 1: <HTML>
2: <HEAD>
2.2 ! frystyk 3: <TITLE>W3C Reference Library libwww Chunked Transfer Encoding and Decoding</TITLE>
2.1 frystyk 4: </HEAD>
5: <BODY>
2.2 ! frystyk 6: <H1>
! 7: Chunked Transfer Encoding and Decoding
! 8: </H1>
2.1 frystyk 9: <PRE>
10: /*
11: ** (c) COPYRIGHT MIT 1995.
12: ** Please first read the full copyright statement in the file COPYRIGH.
13: */
14: </PRE>
2.2 ! frystyk 15: <P>
! 16: Chunked transfer encoding and decoding is new in HTTP/1.1. It allows applications
! 17: to use persistent connections while not knowing the content length a priori
! 18: to the response header is generated.
! 19: <P>
! 20: Both the encoder and the decoder are of type
! 21: <A HREF="HTFormat.html#encoding">HTCoder</A> which is defined in the
! 22: <A HREF="HTFormat.html">Stream Pipe Builder</A>. This means that bot the
! 23: encoder and the decoder are registered dynamically and called by the Stream
! 24: Pipe Builder if required.
! 25: <P>
! 26: <B>Note</B>: These streams are <I>not</I> set up by default. They must be
! 27: registered by the application. You can use the default initialization function
! 28: <CODE>HTEncoderInit()</CODE> function in the
! 29: <A HREF="WWWInit.html">initialization interface</A>.
! 30: <P>
! 31: This module is implemented by <A HREF="HTTChunk.c">HTTChunk.c</A>, and it
! 32: is a part of the <A HREF="http://www.w3.org/pub/WWW/Library/"> W3C Reference
! 33: Library</A>.
! 34: <P>
! 35: <PRE>#ifndef HTTCHUNK_H
2.1 frystyk 36: #define HTTCHUNK_H
37:
38: #include "HTFormat.h"
39: </PRE>
40: <PRE>
2.2 ! frystyk 41: extern HTCoder HTChunkedDecoder, HTChunkedEncoder;
2.1 frystyk 42: </PRE>
43: <PRE>
44: #endif /* HTTCHUNK_H */
45: </PRE>
2.2 ! frystyk 46: <P>
! 47: <HR>
2.1 frystyk 48: <ADDRESS>
2.2 ! frystyk 49: @(#) $Id: HTTChunk.html,v 2.1 1996/04/18 01:41:49 frystyk Exp $
2.1 frystyk 50: </ADDRESS>
2.2 ! frystyk 51: </BODY></HTML>
Webmaster