Annotation of libwww/Library/src/HTMIMImp.html, revision 2.2

2.1       frystyk     1: <HTML>
                      2: <HEAD>
2.2     ! 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>
                      8:   Default MIME/RFC822 Header Parser
                      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, 
                     45:        HTMIME_age, 
                     46:        HTMIME_allow,
                     47:        HTMIME_authorization,
                     48:        HTMIME_cacheControl,
                     49:        HTMIME_connection, 
                     50:        HTMIME_contentBase, 
                     51:        HTMIME_contentEncoding, 
                     52:        HTMIME_contentLanguage, 
                     53:        HTMIME_contentLength, 
                     54:        HTMIME_contentLocation, 
                     55:        HTMIME_contentMD5,
                     56:        HTMIME_contentRange,
                     57:        HTMIME_contentTransferEncoding, 
                     58:        HTMIME_contentType,
                     59:        HTMIME_date,
                     60:        HTMIME_derivedFrom, 
                     61:        HTMIME_messageDigest, 
                     62:        HTMIME_etag,
                     63:         HTMIME_expires,
                     64:        HTMIME_from,
                     65:        HTMIME_host,
                     66:        HTMIME_ifModifiedSince, 
                     67:        HTMIME_ifMatch, 
                     68:        HTMIME_ifNoneMatch, 
                     69:        HTMIME_ifRange, 
                     70:        HTMIME_ifUnmodifiedSince, 
                     71:        HTMIME_lastModified, 
                     72:        HTMIME_link,
                     73:        HTMIME_location,
                     74:        HTMIME_maxForwards, 
                     75:        HTMIME_newsGroups, 
                     76:        HTMIME_pragma,
                     77:        HTMIME_proxyAuthenticate,
                     78:        HTMIME_proxyAuthorization,
                     79:        HTMIME_public,
                     80:        HTMIME_range,
                     81:        HTMIME_referer,
                     82:        HTMIME_retryAfter, 
2.2     ! frystyk    83:        HTMIME_server, 
2.1       frystyk    84:        HTMIME_title, 
                     85:        HTMIME_contentTransferEncoding, 
                     86:        HTMIME_upgrade,
                     87:        HTMIME_uri,
                     88:        HTMIME_userAgent,
                     89:        HTMIME_vary,
                     90:        HTMIME_version,
                     91:        HTMIME_via,
                     92:        HTMIME_warning,
                     93:        HTMIME_authenticate; 
                     94: </PRE>
                     95: <PRE>
                     96: #endif
                     97: </PRE>
                     98: <P>
                     99:   <HR>
                    100: <ADDRESS>
2.2     ! frystyk   101:   @(#) $Id: HTMIMImp.html,v 2.1 1996/06/28 16:31:17 frystyk Exp $
2.1       frystyk   102: </ADDRESS>
                    103: </BODY></HTML>

Webmaster