Annotation of libwww/Library/src/HTTP.html, revision 2.11

2.6       timbl       1: <HTML>
                      2: <HEAD>
2.11    ! frystyk     3: <TITLE>Multi Threaded HTTP module for libwww</TITLE></HEAD>
2.6       timbl       4: <BODY>
2.9       frystyk     5: 
2.11    ! frystyk     6: <H1>Multi Threaded HyperText Tranfer Protocol Module</H1>
        !             7: 
        !             8: This is actually a very small definition file as almost everything is
        !             9: set up elsewhere. <P>
        !            10: 
        !            11: This module is implemented by <A HREF="HTTP.c">HTTP.c</A>, and it is a
        !            12: part of the <A NAME="z10"
        !            13: HREF="http://info.cern.ch/hypertext/WWW/Library/User/Guide/Guide.html">Library
        !            14: of Common Code</A>. <P>
2.9       frystyk    15: 
                     16: <PRE>
                     17: #ifndef HTTP_H
2.1       timbl      18: #define HTTP_H
2.7       timbl      19: </PRE>
2.9       frystyk    20: 
                     21: <H2>Controlling Flags</H2>
                     22: 
                     23: The following variables can change the behaviour of the module.
                     24: 
                     25: <H3>Cache control flag</H3>
                     26: 
2.11    ! frystyk    27: <EM>Note: This variable is now replaced by the (char *) HTCacheDir in
2.10      frystyk    28: <A HREF="HTAccess.html">HTAccess Module</A></EM> <P>
2.9       frystyk    29: 
                     30: Turn this off if you don't want HTTP protocol fetches to leave cache files.
2.8       frystyk    31:        extern  BOOL  HTCacheHTTP;
2.1       timbl      32: 
2.9       frystyk    33: <H3>Redirections</H3>
2.7       timbl      34: 
2.11    ! frystyk    35: The maximum number of redirections is pr. default 10 and is set in the
        !            36: module. This prevents the library from going into an infinite loop
        !            37: which is kind of nice :-)
2.9       frystyk    38: 
                     39: <PRE>
                     40: extern int HTMaxRedirections;
2.10      frystyk    41: </PRE>
                     42: 
                     43: <H3>Disable/Enable User Identification in HTTP Request</H3>
                     44: 
2.11    ! frystyk    45: If a client want the user's email address to be send in the HTTP
        !            46: request as a <A
        !            47: HREF="http://info.cern.ch/hypertext/WWW/Protocols/HTTP/HTRQ_Headers.html#from">
        !            48: From field</A> then turn this flag on. The default is off because it
        !            49: might cause security problems from within a firewall. When enabled,
        !            50: the format used is <EM>user@host.domain</EM>. The value can be
        !            51: changed, see <A HREF="HTTCP.html#Mailaddress">HTTCP Module</A>.
2.10      frystyk    52: 
                     53: <PRE>
                     54: extern BOOL HTEnableFrom;
2.9       frystyk    55: </PRE>
                     56: 
                     57: <PRE>
2.6       timbl      58: #endif /* HTTP_H */
2.9       frystyk    59: </PRE>
2.1       timbl      60: 
2.9       frystyk    61: End of HTTP module definition.
                     62: </BODY>
2.6       timbl      63: </HTML>

Webmaster