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

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

Webmaster