HTTPUtil.h
Upload User: zlh9724
Upload Date: 2007-01-04
Package Size: 1991k
Code Size: 1k
Category:

Browser Client

Development Platform:

Unix_Linux

  1. /*                                        HTTP Communalities between Server and Client Module
  2.                    HTTP COMMUNALITIES BETWEEN SERVER AND CLIENT MODULE
  3.                                              
  4.    The HTTP client module and the server module has a few things in common which we keep
  5.    in this file.
  6.    
  7.  */
  8. #ifndef HTTPUTIL_H
  9. #define HTTPUTIL_H
  10. /*
  11.   HTTP VERSION MANAGEMENT
  12.   
  13.  */
  14. typedef enum _HTTPVersion {
  15.     HTTP = 0,
  16.     HTTP_09,
  17.     HTTP_10,
  18.     HTTP_11,
  19.     HTTP_12
  20. } HTTPVersion;
  21. /*
  22.   CURRENT VERSION OF HTTP
  23.   
  24.  */
  25. #define HTTP_VERSION    "HTTP/1.0"
  26. /*
  27.  */
  28. #endif
  29. /*
  30.    End of declaration */