_REQUEST Struct Reference
[HTTP]


Detailed Description

HTTP request information structure.
Examples:

httpd/httpserv.c.

Definition at line 105 of file 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_.

Field Documentation

Request method.

Examples:
httpd/httpserv.c.

Definition at line 106 of file httpd.h.

Referenced by NutCgiProcessRequest(), NutHttpProcessPostQuery(), and NutHttpProcessRequest().

11 = HTTP/1.1, 10 = HTTP/1.0

Examples:
httpd/httpserv.c.

Definition at line 107 of file httpd.h.

Referenced by NutHttpProcessRequest().

Content length.

Examples:
httpd/httpserv.c.

Definition at line 108 of file httpd.h.

Referenced by NutHttpProcessPostQuery(), and NutHttpProcessRequest().

URI portion of the GET or POST request line.

Examples:
httpd/httpserv.c.

Definition at line 109 of file httpd.h.

Referenced by DestroyRequestInfo(), NutCgiCheckRequest(), NutCgiProcessRequest(), NutHttpAuthValidate(), NutHttpProcessRequest(), and NutHttpSendError().

Content type.

Examples:
httpd/httpserv.c.

Definition at line 111 of file httpd.h.

Referenced by DestroyRequestInfo(), and NutHttpProcessRequest().

Cookie.

Examples:
httpd/httpserv.c.

Definition at line 112 of file httpd.h.

Referenced by DestroyRequestInfo(), and NutHttpProcessRequest().

Authorization info.

Examples:
httpd/httpserv.c.

Definition at line 113 of file httpd.h.

Referenced by DestroyRequestInfo(), NutHttpAuthValidate(), and NutHttpProcessRequest().

User agent.

Examples:
httpd/httpserv.c.

Definition at line 114 of file httpd.h.

Referenced by DestroyRequestInfo(), and NutHttpProcessRequest().

Number of request parameters.

Definition at line 116 of file httpd.h.

Referenced by NutHttpGetParameter(), NutHttpGetParameterCount(), NutHttpProcessPostQuery(), and NutHttpProcessQueryString().

If-modified-since condition.

Definition at line 117 of file httpd.h.

Referenced by NutHttpProcessRequest().

Misspelled HTTP referrer.

Definition at line 118 of file httpd.h.

Referenced by DestroyRequestInfo(), and NutHttpProcessRequest().

Server host.

Definition at line 119 of file httpd.h.

Referenced by DestroyRequestInfo(), and NutHttpProcessRequest().

Connection type, HTTP_CONN_.

Definition at line 120 of file httpd.h.

Referenced by NutHttpProcessRequest(), NutHttpSendError(), and NutHttpSendHeaderBottom().


The documentation for this struct was generated from the following file:

© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/