about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTTP.h
blob: 1079557fe44a2c5f1f663fc73786ac7fe90f5ec6 (plain) (blame)
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
/*                     /Net/dxcern/userd/timbl/hypertext/WWW/Library/Implementation/HTTP.html
                                HYPERTEXT TRANFER PROTOCOL

 */
#ifndef HTTP_H
#define HTTP_H

#include <HTAccess.h>

#ifdef GLOBALREF_IS_MACRO
extern GLOBALREF (HTProtocol,HTTP);
extern GLOBALREF (HTProtocol,HTTPS);
#else
GLOBALREF HTProtocol HTTP;
GLOBALREF HTProtocol HTTPS;
#endif /* GLOBALREF_IS_MACRO */

#define URL_GET_METHOD  1
#define URL_POST_METHOD 2
#define URL_MAIL_METHOD 3

extern BOOL reloading;
extern char * redirecting_url;
extern BOOL permanent_redirection;
extern BOOL redirect_post_content;

#ifdef _WINDOWS
extern int ws_netread(int fd, char *buf, int len);
#endif /* _WINDOWS */

#endif /* HTTP_H */

/*

   end of HTTP module definition

 */