Annotation of libwww/Library/src/HTMIME.html, revision 2.24

2.6       timbl       1: <HTML>
                      2: <HEAD>
2.24    ! frystyk     3:   <!-- Changed by: Henrik Frystyk Nielsen, 17-Apr-1996 -->
        !             4:   <TITLE>W3C Reference Library libwww MIME/RFC822 Parser</TITLE>
2.6       timbl       5: </HEAD>
                      6: <BODY>
2.24    ! frystyk     7: <H1>
        !             8:   MIME Parser
        !             9: </H1>
2.9       frystyk    10: <PRE>
                     11: /*
2.13      frystyk    12: **     (c) COPYRIGHT MIT 1995.
2.9       frystyk    13: **     Please first read the full copyright statement in the file COPYRIGH.
                     14: */
                     15: </PRE>
2.24    ! frystyk    16: <P>
        !            17: The MIME parser stream presents a MIME document with a header and possibly
        !            18: a footer. It recursively invokes the format manager to handle embedded formats
        !            19: like MIME multipart. As well as stripping off and parsing the headers, the
        !            20: MIME parser has to parse any weird MIME encodings it may meet within the
        !            21: body parts of messages, and must deal with multipart messages.
        !            22: <P>
        !            23: This module is implemented to the level necessary for operation with WWW,
        !            24: but is not currently complete for any arbitrary MIME message.
        !            25: <P>
2.9       frystyk    26: This module is implemented by <A HREF="HTMIME.c">HTMIME.c</A>, and it is
2.24    ! frystyk    27: a part of the <A HREF="http://www.w3.org/pub/WWW/Library/"> W3C Reference
        !            28: Library</A>.
2.9       frystyk    29: <PRE>
                     30: #ifndef HTMIME_H
2.1       timbl      31: #define HTMIME_H
                     32: 
                     33: #include "HTStream.h"
2.15      frystyk    34: #include "HTFormat.h"
2.6       timbl      35: </PRE>
2.24    ! frystyk    36: <H2>
        !            37:   Stream Converters in this Module
        !            38: </H2>
        !            39: <H3>
        !            40:   MIME header parser stream
        !            41: </H3>
        !            42: <P>
        !            43: This stream parses a complete MIME header and if a content type header is
        !            44: found then the stream stack is called. Any left over data is pumped right
        !            45: through the stream.
2.8       frystyk    46: <PRE>
2.20      frystyk    47: extern HTConverter HTMIMEConvert;
2.18      frystyk    48: </PRE>
2.24    ! frystyk    49: <H3>
        !            50:   MIME Header ONLY parser stream
        !            51: </H3>
        !            52: <P>
        !            53: This stream parses a complete MIME header and then returnes HT_PAUSE. It
        !            54: does not set up any streams and resting data stays in the buffer. This can
        !            55: be used if you only want to parse the headers before you decide what to do
        !            56: next. This is for example the case in a server app.
2.18      frystyk    57: <PRE>
2.20      frystyk    58: extern HTConverter HTMIMEHeader;
2.18      frystyk    59: </PRE>
2.24    ! frystyk    60: <H3>
        !            61:   MIME Footer ONLY parser
        !            62: </H3>
        !            63: <P>
2.23      frystyk    64: Parse only a footer, for example after a chunked encoding.
2.18      frystyk    65: <PRE>
2.23      frystyk    66: extern HTConverter HTMIMEFooter;
                     67: </PRE>
                     68: <PRE>
2.1       timbl      69: #endif
2.8       frystyk    70: </PRE>
2.24    ! frystyk    71: <P>
        !            72:   <HR>
2.22      frystyk    73: <ADDRESS>
2.24    ! frystyk    74:   @(#) $Id: HTMIME.html,v 2.23 1996/04/18 01:41:47 frystyk Exp $
2.22      frystyk    75: </ADDRESS>
2.24    ! frystyk    76: </BODY></HTML>

Webmaster