Annotation of libwww/Library/src/HTTPUtil.html, revision 2.2
2.1 frystyk 1: <HTML>
2: <HEAD>
3: <TITLE>HTTP Communalities between Server and Client Module</TITLE>
2.2 ! frystyk 4: <!-- Changed by: Henrik Frystyk Nielsen, 5-Feb-1996 -->
2.1 frystyk 5: </HEAD>
6: <BODY>
7:
8: <H1>HTTP Communalities between Server and Client Module</H1>
9:
10: The HTTP <A HREF="HTTP.html">client module</A> and the <A
11: HREF="HTTPServ.html">server module</A> has a few things in common
12: which we keep in this file.<P>
13:
14: <PRE>
15: #ifndef HTTPUTIL_H
16: #define HTTPUTIL_H
17: </PRE>
18:
19: <H3>HTTP Version Management</H3>
20:
21: <PRE>
22: typedef enum _HTTPVersion {
23: HTTP = 0,
24: HTTP_09,
25: HTTP_10,
26: HTTP_11,
27: HTTP_12
28: } HTTPVersion;
2.2 ! frystyk 29: </PRE>
! 30:
! 31: <H3>Current version of HTTP</H3>
! 32:
! 33: <PRE>
! 34: #define HTTP_VERSION "HTTP/1.0"
2.1 frystyk 35: </PRE>
36:
37: <PRE>
38: #endif
39: </PRE>
40:
41: End of declaration
42: </BODY>
43: </HTML>
44:
Webmaster