| 45 typedef struct _header Header; |
45 typedef struct _header Header; |
| 46 typedef struct _header_array HeaderArray; |
46 typedef struct _header_array HeaderArray; |
| 47 |
47 |
| 48 struct _http_request { |
48 struct _http_request { |
| 49 Connection *connection; |
49 Connection *connection; |
| 50 cxmutstr request_line; |
50 cxmutstr request_line; |
| 51 cxmutstr method; |
51 cxmutstr method; |
| 52 cxmutstr uri; |
52 cxmutstr uri; |
| 53 cxmutstr httpv; |
53 cxmutstr httpv; |
| 54 HeaderArray *headers; |
54 HeaderArray *headers; |
| 55 netbuf *netbuf; |
55 netbuf *netbuf; |
| 56 time_t req_start; |
56 time_t req_start; |
| |
57 short status; |
| 57 }; |
58 }; |
| 58 |
59 |
| 59 struct _header { |
60 struct _header { |
| 60 cxmutstr name; |
61 cxmutstr name; |
| 61 cxmutstr value; |
62 cxmutstr value; |