Go to the source code of this file.
Typedefs | |
typedef http_s | http_t |
Enumerations | |
enum | { HTTP_STATUS_EMPTY = 0, HTTP_STATUS_OK = 200, HTTP_STATUS_CREATED = 201, HTTP_STATUS_ACCEPTED = 202, HTTP_STATUS_NO_CONTENT = 204, HTTP_STATUS_MOVED_PERMANENTLY = 301, HTTP_STATUS_MOVED_TEMPORARILY = 302, HTTP_STATUS_NOT_MODIFIED = 304, HTTP_STATUS_BAD_REQUEST = 400, HTTP_STATUS_UNAUTHORIZED = 401, HTTP_STATUS_FORBIDDEN = 403, HTTP_STATUS_NOT_FOUND = 404, HTTP_STATUS_LENGTH_REQUIRED = 411, HTTP_STATUS_REQUEST_TOO_LARGE = 413, HTTP_STATUS_INTERNAL_SERVER_ERROR = 500, HTTP_STATUS_NOT_IMPLEMENTED = 501, HTTP_STATUS_BAD_GATEWAY = 502, HTTP_STATUS_SERVICE_UNAVAILABLE = 503 } |
enum | http_method_e { HM_UNKNOWN, HM_GET, HM_HEAD, HM_POST, HM_PUT, HM_DELETE } |
Functions | |
u_config_t * | http_get_config (http_t *http) |
session_opt_s * | http_get_session_opt (http_t *http) |
int | http_alias_resolv (http_t *h, char *dst, const char *filename, size_t sz) |
const char * | http_get_status_desc (int status) |
Definition in file http.h.
|
Definition at line 74 of file http.h. Referenced by http_alias_resolv(), http_backend_init(), http_backend_serve(), http_backend_term(), http_get_config(), http_get_session_opt(), request_create(), request_get_http(), and response_create(). |
|
|
HTTP Methods |
|
Definition at line 91 of file http.c. References http_s::config, http_s::dir_root, and http_t. |
|
Definition at line 69 of file http.c. References http_s::config, and http_t. |
|
Definition at line 62 of file http.c. References http_t, http_s::sess_opt, and session_opt_t. |
|
Definition at line 76 of file http.c. Referenced by response_get_max_header_size(). |