Annotation of libwww/Library/src/HTMIMImp.html, revision 2.6
2.1 frystyk 1: <HTML>
2: <HEAD>
2.5 frystyk 3: <!-- Changed by: Henrik Frystyk Nielsen, 1-Jul-1996 -->
2.1 frystyk 4: <TITLE>W3C Reference Library libwww Default MIME/RFC822 Header Parsers</TITLE>
5: </HEAD>
6: <BODY>
7: <H1>
2.5 frystyk 8: Default MIME/RFC822 Header Parsers
2.1 frystyk 9: </H1>
10: <PRE>
11: /*
12: ** (c) COPYRIGHT MIT 1995.
13: ** Please first read the full copyright statement in the file COPYRIGH.
14: */
15: </PRE>
16: <P>
17: The Library's MIME parser is divided into two parts: A generic MIME parser
18: that knows how to unwrap all RFC822 headers and specialized header parsers
19: that knows how to parse <CODE>Content-Length</CODE>, for example. This is
20: the default set of the specialized MIME header parsers that can be registered
21: as part of the generic MIME. Note that these functions are not registered
22: by default - they must be registered by the application. This can be done
23: using the <A HREF="HTInit.html">HTMIMEInit()</A> function in the
24: <A HREF="WWWInit.html">WWWInit interface</A>. Of course this can also be
25: used to register new headers that are not represented below - or if you want
26: to replace a default parser then this is also very easy.
27: <P>
28: This module is implemented by <A HREF="HTMIMImp.c">HTMIMImp.c</A>, and it
29: is a part of the <A HREF="http://www.w3.org/pub/WWW/Library/"> W3C Reference
30: Library</A>.
31: <PRE>
32: #ifndef HTMIMIMP_H
33: #define HTMIMIMP_H
34:
35: #include "HTReq.h"
36: #include "HTHeader.h"
37: </PRE>
38: <PRE>
39: extern HTParserCallback
40: HTMIME_accept,
41: HTMIME_acceptCharset,
42: HTMIME_acceptEncoding,
43: HTMIME_acceptLanguage,
44: HTMIME_acceptRanges,
2.5 frystyk 45: HTMIME_authenticate,
2.1 frystyk 46: HTMIME_authorization,
47: HTMIME_cacheControl,
48: HTMIME_connection,
49: HTMIME_contentEncoding,
2.5 frystyk 50: HTMIME_contentLength,
2.1 frystyk 51: HTMIME_contentRange,
52: HTMIME_contentTransferEncoding,
53: HTMIME_contentType,
2.6 ! eric 54: HTMIME_keepAlive,
2.1 frystyk 55: HTMIME_link,
56: HTMIME_location,
57: HTMIME_maxForwards,
2.5 frystyk 58: HTMIME_messageDigest,
2.1 frystyk 59: HTMIME_pragma,
2.5 frystyk 60: HTMIME_protocol,
61: HTMIME_protocolInfo,
62: HTMIME_protocolRequest,
2.1 frystyk 63: HTMIME_proxyAuthorization,
64: HTMIME_public,
65: HTMIME_range,
66: HTMIME_referer,
67: HTMIME_retryAfter,
2.2 frystyk 68: HTMIME_server,
2.1 frystyk 69: HTMIME_upgrade,
70: HTMIME_userAgent,
71: HTMIME_vary,
72: HTMIME_via,
2.5 frystyk 73: HTMIME_warning;
2.1 frystyk 74: </PRE>
75: <PRE>
76: #endif
77: </PRE>
78: <P>
79: <HR>
80: <ADDRESS>
2.6 ! eric 81: @(#) $Id: HTMIMImp.html,v 2.5 1996/10/07 02:04:57 frystyk Exp $
2.1 frystyk 82: </ADDRESS>
83: </BODY></HTML>
Webmaster