HTTP request information structure. More...
#include <uhttpd.h>
Data Fields | |
| int | req_method |
| Request method. | |
| char * | req_url |
| URI portion of the GET or POST request line. | |
| int | req_version |
| BCD coded HTTP version, either 0x09, 0x10 or 0x11. | |
| char * | req_query |
| Argument string. | |
| char * | req_argp |
| Current argument pointer. | |
| char * | req_argn |
| Escaped argument name. | |
| char * | req_argv |
| Escaped argument value. | |
| int | req_connection |
| Connection type, HTTP_CONN_. | |
| long | req_length |
| Content length. | |
| char * | req_realm |
| Realm of the requested URI. | |
| char * | req_type |
| Content type. | |
| char * | req_cookie |
| Cookie. | |
| char * | req_auth |
| Authorization info. | |
| char * | req_agent |
| User agent. | |
| time_t | req_ims |
| If-modified-since condition. | |
| char * | req_referer |
| Misspelled HTTP referrer. | |
| char * | req_host |
| Server host. | |
| char * | req_encoding |
| Accept encoding. | |
| char * | req_bnd_dispo |
| Content disposition. | |
| char * | req_bnd_type |
| Boundary type. | |
HTTP request information structure.
Request method.
Referenced by HttpParseHeader(), and HttpSsiExecHandler().
| char* _HTTP_REQUEST::req_url |
URI portion of the GET or POST request line.
Referenced by HttpAuthBasicValidate(), HttpdClientHandler(), HttpLocationRedir(), and HttpParseHeader().
BCD coded HTTP version, either 0x09, 0x10 or 0x11.
Referenced by HttpParseHeader(), and HttpSsiExecHandler().
| char* _HTTP_REQUEST::req_query |
Argument string.
Referenced by HttpArgParseFirst(), HttpdClientHandler(), HttpParseHeader(), and HttpSsiExecHandler().
| char* _HTTP_REQUEST::req_argp |
Current argument pointer.
Referenced by HttpArgParseFirst(), HttpArgParseNext(), and HttpdClientHandler().
| char* _HTTP_REQUEST::req_argn |
Escaped argument name.
Referenced by HttpArgParseNext(), HttpArgReadNext(), and HttpdClientHandler().
| char* _HTTP_REQUEST::req_argv |
Escaped argument value.
Referenced by HttpArgParseNext(), HttpArgReadNext(), and HttpArgValue().
Connection type, HTTP_CONN_.
Referenced by HttpdClientHandler(), HttpParseHeader(), and HttpSendHeaderBottom().
Content length.
Referenced by HttpParseHeader(), and HttpSsiExecHandler().
| char* _HTTP_REQUEST::req_realm |
Realm of the requested URI.
Referenced by HttpAuthBasicValidate(), HttpdClientHandler(), and HttpSendError().
| char* _HTTP_REQUEST::req_type |
Content type.
Referenced by HttpdClientHandler(), and HttpParseHeader().
Cookie.
Referenced by HttpdClientHandler(), and HttpParseHeader().
| char* _HTTP_REQUEST::req_auth |
Authorization info.
Referenced by HttpAuthBasicValidate(), HttpdClientHandler(), and HttpParseHeader().
| char* _HTTP_REQUEST::req_agent |
User agent.
Referenced by HttpdClientHandler(), and HttpParseHeader().
If-modified-since condition.
Referenced by HttpParseHeader(), and MediaTypeHandlerBinary().
Misspelled HTTP referrer.
Referenced by HttpdClientHandler(), and HttpParseHeader().
| char* _HTTP_REQUEST::req_host |
Server host.
Referenced by HttpdClientHandler(), and HttpParseHeader().
Accept encoding.
Referenced by HttpdClientHandler(), and HttpParseHeader().
Content disposition.
Referenced by HttpdClientHandler(), and HttpParseMultipartHeader().
Boundary type.
Referenced by HttpdClientHandler(), and HttpParseMultipartHeader().