File:  [Public] / libwww / Library / src / HTMIME.html
Revision 2.11: download - view: text, annotated - select for diffs
Tue Mar 21 17:40:36 1995 UTC (29 years, 2 months ago) by frystyk
Branches: MAIN
CVS tags: v3/0, WindowsNT, HEAD
Getting Library back on main branch

<HTML>
<HEAD>
<TITLE>HTMIME:   Parser of MIME format for libwww</TITLE>
</HEAD>
<BODY>

<H1>MIME Parser</H1>

<PRE>
/*
**	(c) COPYRIGHT CERN 1994.
**	Please first read the full copyright statement in the file COPYRIGH.
*/
</PRE>

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. <P>

This module is implemented by <A HREF="HTMIME.c">HTMIME.c</A>, and it is
a part of the <A
HREF="http://info.cern.ch/hypertext/WWW/Library/User/Guide/Guide.html">
Library of Common Code</A>.

<PRE>
#ifndef HTMIME_H
#define HTMIME_H

#include "HTStream.h"
</PRE>

<H3>Converters in this Module</H3>

<PRE>
#ifndef pyramid
extern HTConverter HTMIMEConvert, HTNetMIME;
#endif

#endif
</PRE>

End of HTMIME
</BODY>
</HTML>

Webmaster