File: HTTP.h

package info (click to toggle)
cern-httpd 3.0A-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 5,392 kB
  • ctags: 6,554
  • sloc: ansic: 37,902; makefile: 1,746; perl: 535; csh: 167; sh: 143
file content (63 lines) | stat: -rw-r--r-- 1,533 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*                                                                     HTTP module for libwww
                            HYPERTEXT TRANFER PROTOCOL MODULE
                                             
   This is the module that handles all communication with HTTP servers. The module is a
   part of the CERN Common WWW Library.
   
 */

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

Public Functions

   Theese are the public functions...
   
  ACCESSING HTTP-SERVER
  
 */

extern int HTLoadHTTP PARAMS((HTRequest * request));
/*

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.
   
 */

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.  */