1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
<HTML>
<HEAD>
<TITLE>HTMIME: Parser of MIME format for libwww</TITLE>
<NEXTID N="z2">
</HEAD>
<BODY>
<H1>MIME Parser</H1>The MIME parser stream presents a
MIME document. It recursively invokes
the format manager to handle embedded
formats.<P>
As well as stripping off and parsing
the headers, the MIME parser has
to parse any weirld MIME encodings
it may meet within the body parts
of messages, and must deal with multipart
messages. <P>
This module is implemented to the
level necessary for operation with
WWW, but is not currently complete
for any arbitrary MIME message.<P>
Check the <A
NAME="z0" HREF="HTMIME.c">source</A> for latest additions
to functionality.<P>
The MIME parser is complicated by
the fact that WWW allows real binary
to be sent, not ASCII encoded. Therefore
the netascii decoding is included
in this module. One cannot layer
it by converting first from Net to
local text, then decoding it. Of
course, for local files, the net
ascii decoding is not needed. There
are therefore two creation routines.
<PRE>#ifndef HTMIME_H
#define HTMIME_H
#include "HTStream.h"
#include "HTAnchor.h"
</PRE>
<H3>Converters in this Module</H3>
<PRE>
#ifndef pyramid
extern HTConverter HTMIMEConvert, HTNetMIME;
#endif
#endif
</PRE>
End of HTMIME
</BODY>
</HTML>
|