1
/* /Net/dxcern/userd/timbl/hypertext/WWW/Library/Implementation/HTMIME.html
4
The MIME parser stream presents a MIME document. It recursively invokes the format
5
manager to handle embedded formats.
7
As well as stripping off and parsing the headers, the MIME parser has to parse any
8
weirld MIME encodings it may meet within the body parts of messages, and must deal with
11
This module is implemented to the level necessary for operation with WWW, but is not
12
currently complete for any arbitrary MIME message.
14
Check the source for latest additions to functionality.
16
The MIME parser is complicated by the fact that WWW allows real binary to be sent, not
17
ASCII encoded. Therefore the netascii decoding is included in this module. One cannot
18
layer it by converting first from Net to local text, then decoding it. Of course, for
19
local files, the net ascii decoding is not needed. There are therefore two creation
30
** This function is for trimming off any paired
31
** open- and close-double quotes from header values.
32
** It does not parse the string for embedded quotes,
33
** and will not modify the string unless both the
34
** first and last characters are double-quotes. - FM
36
extern void HTMIME_TrimDoubleQuotes PARAMS((
44
extern HTStream * HTMIMEConvert PARAMS((HTPresentation * pres,
45
HTParentAnchor * anchor,
52
extern HTStream * HTNetMIME PARAMS((HTPresentation * pres,
53
HTParentAnchor * anchor,
57
INPUT: Redirection message, parse headers only for Location if present
60
extern HTStream * HTMIMERedirect PARAMS((HTPresentation * pres,
61
HTParentAnchor * anchor,
67
For handling Japanese headers.
70
extern void HTmmdec_base64 PARAMS((
74
extern void HTmmdec_quote PARAMS((
78
extern void HTmmdecode PARAMS((
82
extern int HTrjis PARAMS((
86
extern int HTmaybekanji PARAMS((
90
#endif /* !HTMIME_H */