Multi Threaded HyperText Tranfer Protocol Module

/*
**	(c) COPYRIGHT CERN 1994.
**	Please first read the full copyright statement in the file COPYRIGH.
*/
This is actually a very small definition file as almost everything is set up elsewhere.

This module is implemented by HTTP.c, and it is a part of the Library of Common Code.

#ifndef HTTP_H
#define HTTP_H
#include "HTAccess.h"

Controlling Flags

The following variables can change the behaviour of the module.

Cache control flag

Note: This variable is now replaced by the (char *) HTCacheDir in HTAccess Module

Turn this off if you don't want HTTP protocol fetches to leave cache files. extern BOOL HTCacheHTTP;

Redirections

The maximum number of redirections is pr. default 10 and is set in the module. This prevents the library from going into an infinite loop which is kind of nice :-)
extern int HTMaxRedirections;

Disable/Enable User Identification in HTTP Request

If a client want the user's email address to be send in the HTTP request as a From field then turn this flag on. The default is off because it might cause security problems from within a firewall. When enabled, the format used is user@host.domain. The value can be changed, see HTTCP Module.
extern BOOL HTEnableFrom;
#endif /* HTTP_H */
End of HTTP module definition.