HTTP request information structure. More...
#include <pro/httpd.h>
Data Fields | |
| int | req_method |
| Request method. | |
| int | req_version |
| 11 = HTTP/1.1, 10 = HTTP/1.0 | |
| long | req_length |
| Content length. | |
| char * | req_url |
| URI portion of the GET or POST request line. | |
| char * | req_query |
| Argument string. | |
| char * | req_type |
| Content type. | |
| char * | req_cookie |
| Cookie. | |
| char * | req_auth |
| Authorization info. | |
| char * | req_agent |
| User agent. | |
| char ** | req_qptrs |
| Table of request parameters. | |
| int | req_numqptrs |
| Number of request parameters. | |
| time_t | req_ims |
| If-modified-since condition. | |
| char * | req_referer |
| Misspelled HTTP referrer. | |
| char * | req_host |
| Server host. | |
| int | req_connection |
| Connection type, HTTP_CONN_. | |
| char * | req_encoding |
| Accept encoding. | |
HTTP request information structure.
Request method.
Referenced by NutCgiProcessRequest(), NutHttpProcessPostQuery(), and NutHttpProcessRequest().
| long _REQUEST::req_length |
| char* _REQUEST::req_url |
URI portion of the GET or POST request line.
Referenced by DestroyRequestInfo(), NutCgiCheckRequest(), NutCgiProcessRequest(), NutHttpAuthValidate(), NutHttpProcessRequest(), and NutHttpSendError().
| char* _REQUEST::req_query |
Argument string.
Referenced by DestroyRequestInfo(), NutHttpProcessPostQuery(), NutHttpProcessQueryString(), NutHttpProcessRequest(), and ShowForm().
| char* _REQUEST::req_type |
| char* _REQUEST::req_cookie |
| char* _REQUEST::req_auth |
Authorization info.
Referenced by DestroyRequestInfo(), and NutHttpAuthValidate().
| char* _REQUEST::req_agent |
| char** _REQUEST::req_qptrs |
Table of request parameters.
Referenced by DestroyRequestInfo(), NutHttpGetParameter(), NutHttpGetParameterName(), NutHttpGetParameterValue(), NutHttpProcessPostQuery(), and NutHttpProcessQueryString().
Number of request parameters.
Referenced by NutHttpGetParameter(), NutHttpGetParameterCount(), NutHttpProcessPostQuery(), and NutHttpProcessQueryString().
If-modified-since condition.
| char* _REQUEST::req_referer |
Misspelled HTTP referrer.
Referenced by DestroyRequestInfo().
| char* _REQUEST::req_host |
Server host.
Referenced by DestroyRequestInfo().
Connection type, HTTP_CONN_.
Referenced by NutHttpProcessRequest(), and NutHttpSendError().
| char* _REQUEST::req_encoding |
Accept encoding.
Referenced by DestroyRequestInfo().