97 HTTP_FLAG_WAIT_ALL = 0x0800,
98 HTTP_FLAG_BREAK_CHAR = 0x1000,
99 HTTP_FLAG_BREAK_CRLF = 0x100A,
100 HTTP_FLAG_NO_DELAY = 0x4000,
101 HTTP_FLAG_DELAY = 0x8000
111 HTTP_REQ_STATE_INIT = 0,
112 HTTP_REQ_STATE_FORMAT_HEADER = 1,
113 HTTP_REQ_STATE_SEND_HEADER = 2,
114 HTTP_REQ_STATE_FORMAT_BODY = 3,
115 HTTP_REQ_STATE_SEND_BODY = 4,
116 HTTP_REQ_STATE_SEND_CHUNK_SIZE = 5,
117 HTTP_REQ_STATE_SEND_CHUNK_DATA = 6,
118 HTTP_REQ_STATE_FORMAT_TRAILER = 7,
119 HTTP_REQ_STATE_SEND_TRAILER = 8,
120 HTTP_REQ_STATE_RECEIVE_STATUS_LINE = 9,
121 HTTP_REQ_STATE_RECEIVE_HEADER = 10,
122 HTTP_REQ_STATE_PARSE_HEADER = 11,
123 HTTP_REQ_STATE_RECEIVE_BODY = 12,
124 HTTP_REQ_STATE_RECEIVE_CHUNK_SIZE = 13,
125 HTTP_REQ_STATE_RECEIVE_CHUNK_DATA = 14,
126 HTTP_REQ_STATE_PARSE_BODY = 15,
127 HTTP_REQ_STATE_RECEIVE_TRAILER = 16,
128 HTTP_REQ_STATE_PARSE_TRAILER = 17,
129 HTTP_REQ_STATE_COMPLETE = 18
139 HTTP_CHARSET_OCTET = 0x0001,
140 HTTP_CHARSET_CTL = 0x0002,
141 HTTP_CHARSET_LWS = 0x0004,
142 HTTP_CHARSET_ALPHA = 0x0008,
143 HTTP_CHARSET_DIGIT = 0x0010,
144 HTTP_CHARSET_HEX = 0x0020,
145 HTTP_CHARSET_VCHAR = 0x0040,
146 HTTP_CHARSET_TCHAR = 0x0080,
147 HTTP_CHARSET_TEXT = 0x0100,
148 HTTP_CHARSET_OBS_TEXT = 0x0200