about summary refs log blame commit diff stats
path: root/WWW/Library/Implementation/HTTP.h
blob: 1d5703220fb5ebcdf5fe747c69d8378d93b42c33 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                                                             
 



              
                     
 


                  
                         

                                         
 
     


                                                        




                         




                                      
 
              
                           

      



                                            
/*                     /Net/dxcern/userd/timbl/hypertext/WWW/Library/Implementation/HTTP.html
                                HYPERTEXT TRANFER PROTOCOL

 */
#ifndef HTTP_H
#define HTTP_H

#include <HTAccess.h>

#ifdef __cplusplus
extern "C" {
#endif
#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 int ws_read_per_sec;
    extern BOOL reloading;
    extern char *redirecting_url;
    extern BOOL permanent_redirection;
    extern BOOL redirect_post_content;

#ifdef USE_SSL
    extern SSL *SSL_handle;
#endif

#ifdef __cplusplus
}
#endif
#endif				/* HTTP_H */