Annotation of libwww/Library/src/HTMIME.html, revision 2.13
2.6 timbl 1: <HTML>
2: <HEAD>
2.12 frystyk 3: <TITLE>Parser of MIME format for libwww</TITLE>
2.6 timbl 4: </HEAD>
5: <BODY>
2.9 frystyk 6:
7: <H1>MIME Parser</H1>
8:
9: <PRE>
10: /*
2.13 ! frystyk 11: ** (c) COPYRIGHT MIT 1995.
2.9 frystyk 12: ** Please first read the full copyright statement in the file COPYRIGH.
13: */
14: </PRE>
15:
16: The MIME parser stream presents a MIME document. It recursively
17: invokes the format manager to handle embedded formats.<P>
18:
19: As well as stripping off and parsing the headers, the MIME parser has
20: to parse any weirld MIME encodings it may meet within the body parts
21: of messages, and must deal with multipart messages. <P>
22:
23: This module is implemented to the level necessary for operation with
24: WWW, but is not currently complete for any arbitrary MIME message.<P>
25:
26: Check the <A NAME="z0" HREF="HTMIME.c">source</A> for latest additions
27: to functionality.<P> The MIME parser is complicated by the fact that
28: WWW allows real binary to be sent, not ASCII encoded. Therefore the
29: netascii decoding is included in this module. One cannot layer it by
30: converting first from Net to local text, then decoding it. Of course,
31: for local files, the net ascii decoding is not needed. There are
32: therefore two creation routines. <P>
33:
34: This module is implemented by <A HREF="HTMIME.c">HTMIME.c</A>, and it is
35: a part of the <A
2.12 frystyk 36: HREF="http://www.w3.org/hypertext/WWW/Library/User/Guide/Guide.html">
2.9 frystyk 37: Library of Common Code</A>.
38:
39: <PRE>
40: #ifndef HTMIME_H
2.1 timbl 41: #define HTMIME_H
42:
43: #include "HTStream.h"
2.6 timbl 44: </PRE>
2.7 timbl 45:
2.8 frystyk 46: <H3>Converters in this Module</H3>
2.1 timbl 47:
2.8 frystyk 48: <PRE>
2.11 frystyk 49: #ifndef pyramid
2.8 frystyk 50: extern HTConverter HTMIMEConvert, HTNetMIME;
51: #endif
2.1 timbl 52:
53: #endif
2.8 frystyk 54: </PRE>
2.1 timbl 55:
2.8 frystyk 56: End of HTMIME
57: </BODY>
2.6 timbl 58: </HTML>
Webmaster