/* ** (c) COPYRIGHT MIT 1995. ** Please first read the full copyright statement in the file COPYRIGH. */
The HTTP client module and the server module has a few things in common which we keep in this file.
#ifndef HTTPUTIL_H
#define HTTPUTIL_H
#ifdef __cplusplus
extern "C" {
#endif
typedef enum _HTTPVersion {
HTTP = 0,
HTTP_09,
HTTP_10,
HTTP_11,
HTTP_12
} HTTPVersion;
#define HTTP_VERSION_10 "HTTP/1.0" #define HTTP_VERSION "HTTP/1.1"
#ifdef __cplusplus } #endif #endif /* HTTPUTIL_H */