Apache HTTP Server Request Library

#include "apreq_cookie.h"
#include "apreq_parser.h"
#include "apreq_error.h"
Go to the source code of this file.
| 
 | 
| Find the first cookie with the specified name. The match is case-insensitive. 
 
 
 | 
| 
 | 
| Value: const apreq_module_t \ pre##_module = { #pre, mmn, \ pre##_jar, pre##_args, pre##_body, \ pre##_jar_get, pre##_args_get, pre##_body_get, \ pre##_parser_get, pre##_parser_set, pre##_hook_add, \ pre##_brigade_limit_get, pre##_brigade_limit_set, \ pre##_read_limit_get, pre##_read_limit_set, \ pre##_temp_dir_get, pre##_temp_dir_set, \ } 
 
 | 
| 
 | 
| An apreq handle associated with a module. The structure may have variable size, because the module may append its own data structures after it. | 
| 
 | ||||||||||||
| Expose the parsed "query string" associated to this handle. 
 
 
 | 
| 
 | ||||||||||||
| Fetch the first query string param with the given name. 
 
 
 | 
| 
 | ||||||||||||
| Expose the parsed "request body" associated to this handle. 
 
 
 | 
| 
 | ||||||||||||
| Fetch the first body param with the given name. 
 
 
 | 
| 
 | ||||||||||||
| Get the active brigade limit. 
 
 
 | 
| 
 | ||||||||||||
| Set the active brigade limit. 
 
 
 | 
| 
 | ||||||||||||
| Add the cookie to the outgoing "Set-Cookie" headers. 
 
 
 | 
| 
 | ||||||||||||
| Add the cookie to the outgoing "Set-Cookie2" headers. 
 
 
 | 
| 
 | ||||||||||||
| Returns a table containing all request cookies. 
 
 | 
| 
 | 
| Create an apreq handle which is suitable for a CGI program. It reads input from stdin and writes output to stdout. 
 
 
 
 | 
| 
 | ||||||||||||||||||||||||||||
| Create a custom apreq handle which knows only some static values. Useful if you want to test the parser code or if you have got data from a custom source (neither Apache 2 nor CGI). 
 
 
 | 
| 
 | ||||||||||||
| Add a parser hook for this request. 
 
 
 | 
| 
 | ||||||||||||
| Expose the parsed "cookie" header associated to this handle. 
 
 
 | 
| 
 | ||||||||||||
| Fetch the first cookie with the given name. 
 
 
 | 
| 
 | 
| Defines the module-specific status codes which are commonly considered to be non-fatal. 
 
 
 | 
| 
 | ||||||||||||
| Find the first query string parameter or body parameter with the specified name. The match is case-insensitive. 
 
 
 | 
| 
 | ||||||||||||
| Returns a table containing key-value pairs for the full request (args + body). 
 
 
 | 
| 
 | 
| Force a complete parse of everything. 
 
 
 | 
| 
 | ||||||||||||
| Fetch the active body parser. 
 
 
 | 
| 
 | ||||||||||||
| Set the body parser for this request. 
 
 
 | 
| 
 | ||||||||||||
| Get the active read limit. 
 
 
 | 
| 
 | ||||||||||||
| Set the active read limit. 
 
 
 | 
| 
 | ||||||||||||
| Get the active temp directory. 
 
 
 | 
| 
 | ||||||||||||
| Set the active temp directory. 
 
 
 | 
| 
 | 
| Looks for the presence of a "Cookie2" header to determine whether or not the current User-Agent responsible for this request supports rfc2965. 
 
 
 |