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

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.12    ! frystyk    19: #include "HTAccess.h"
2.7       timbl      20: </PRE>
2.9       frystyk    21: 
                     22: <H2>Controlling Flags</H2>
                     23: 
                     24: The following variables can change the behaviour of the module.
                     25: 
                     26: <H3>Cache control flag</H3>
                     27: 
2.11      frystyk    28: <EM>Note: This variable is now replaced by the (char *) HTCacheDir in
2.10      frystyk    29: <A HREF="HTAccess.html">HTAccess Module</A></EM> <P>
2.9       frystyk    30: 
                     31: Turn this off if you don't want HTTP protocol fetches to leave cache files.
2.8       frystyk    32:        extern  BOOL  HTCacheHTTP;
2.1       timbl      33: 
2.9       frystyk    34: <H3>Redirections</H3>
2.7       timbl      35: 
2.11      frystyk    36: The maximum number of redirections is pr. default 10 and is set in the
                     37: module. This prevents the library from going into an infinite loop
                     38: which is kind of nice :-)
2.9       frystyk    39: 
                     40: <PRE>
                     41: extern int HTMaxRedirections;
2.10      frystyk    42: </PRE>
                     43: 
                     44: <H3>Disable/Enable User Identification in HTTP Request</H3>
                     45: 
2.11      frystyk    46: If a client want the user's email address to be send in the HTTP
                     47: request as a <A
                     48: HREF="http://info.cern.ch/hypertext/WWW/Protocols/HTTP/HTRQ_Headers.html#from">
                     49: From field</A> then turn this flag on. The default is off because it
                     50: might cause security problems from within a firewall. When enabled,
                     51: the format used is <EM>user@host.domain</EM>. The value can be
                     52: changed, see <A HREF="HTTCP.html#Mailaddress">HTTCP Module</A>.
2.10      frystyk    53: 
                     54: <PRE>
                     55: extern BOOL HTEnableFrom;
2.9       frystyk    56: </PRE>
                     57: 
                     58: <PRE>
2.6       timbl      59: #endif /* HTTP_H */
2.9       frystyk    60: </PRE>
2.1       timbl      61: 
2.9       frystyk    62: End of HTTP module definition.
                     63: </BODY>
2.6       timbl      64: </HTML>

Webmaster