Nut/OS  5.0.5
API Reference
_HTTP_REQUEST Struct Reference

HTTP request information structure. More...

#include <uhttpd.h>

Collaboration diagram for _HTTP_REQUEST:
[legend]

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.

Detailed Description

HTTP request information structure.


Field Documentation

Request method.

Referenced by HttpParseHeader(), and HttpSsiExecHandler().

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().

Current argument pointer.

Referenced by HttpArgParseFirst(), HttpArgParseNext(), and HttpdClientHandler().

Escaped argument name.

Referenced by HttpArgParseNext(), HttpArgReadNext(), and HttpdClientHandler().

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().

Realm of the requested URI.

Referenced by HttpAuthBasicValidate(), HttpdClientHandler(), and HttpSendError().

Content type.

Referenced by HttpdClientHandler(), and HttpParseHeader().

User agent.

Referenced by HttpdClientHandler(), and HttpParseHeader().

If-modified-since condition.

Referenced by HttpParseHeader(), and MediaTypeHandlerBinary().

Misspelled HTTP referrer.

Referenced by HttpdClientHandler(), and HttpParseHeader().

Server host.

Referenced by HttpdClientHandler(), and HttpParseHeader().

Accept encoding.

Referenced by HttpdClientHandler(), and HttpParseHeader().

Content disposition.

Referenced by HttpdClientHandler(), and HttpParseMultipartHeader().


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