#include "platform.h"
#include "microhttpd.h"
Go to the source code of this file.
|
#define | NULL ((void*) 0) |
|
#define | BLOCK(m) { (sizeof(m) / sizeof(char*)), m } |
|
◆ BLOCK
#define BLOCK |
( |
|
m | ) |
{ (sizeof(m) / sizeof(char*)), m } |
◆ NULL
◆ MHD_get_reason_phrase_for()
const char* MHD_get_reason_phrase_for |
( |
unsigned int |
code | ) |
|
Returns the string reason phrase for a response code.
If message string is not available for a status code, "Unknown" string will be returned.
Definition at line 177 of file reason_phrase.c.
References reasons.
Referenced by build_header_response().
◆ five_hundred
const char* const five_hundred[] |
|
static |
Initial value:= {
"Internal Server Error" ,
"Not Implemented" ,
"Bad Gateway" ,
"Service Unavailable" ,
"Gateway Timeout" ,
"HTTP Version Not Supported" ,
"Variant Also Negotiates" ,
"Insufficient Storage" ,
"Loop Detected" ,
"Bandwidth Limit Exceeded" ,
"Not Extended" ,
"Network Authentication Required"
}
Definition at line 142 of file reason_phrase.c.
◆ four_hundred
const char* const four_hundred[] |
|
static |
◆ invalid_hundred
const char* const invalid_hundred[] |
|
static |
◆ one_hundred
const char* const one_hundred[] |
|
static |
Initial value:= {
"Continue" ,
"Switching Protocols" ,
"Processing" ,
"Early Hints"
}
Definition at line 38 of file reason_phrase.c.
◆ reasons
const struct MHD_Reason_Block reasons[] |
|
static |
Initial value:= {
}
static const char *const five_hundred[]
static const char *const one_hundred[]
static const char *const four_hundred[]
static const char *const invalid_hundred[]
static const char *const three_hundred[]
static const char *const two_hundred[]
Definition at line 166 of file reason_phrase.c.
Referenced by MHD_get_reason_phrase_for().
◆ three_hundred
const char* const three_hundred[] |
|
static |
Initial value:= {
"Multiple Choices" ,
"Moved Permanently" ,
"Found" ,
"See Other" ,
"Not Modified" ,
"Use Proxy" ,
"Switch Proxy" ,
"Temporary Redirect" ,
"Permanent Redirect"
}
Definition at line 75 of file reason_phrase.c.
◆ two_hundred
const char* const two_hundred[] |
|
static |
Initial value:= {
"OK" ,
"Created" ,
"Accepted" ,
"Non-Authoritative Information" ,
"No Content" ,
"Reset Content" ,
"Partial Content" ,
"Multi-Status" ,
"Already Reported" ,
"Unknown" ,
"Unknown" ,
"Unknown" ,
"Unknown" ,
"Unknown" ,
"Unknown" ,
"Unknown" ,
"Unknown" ,
"Unknown" ,
"Unknown" ,
"Unknown" ,
"Unknown" ,
"Unknown" ,
"Unknown" ,
"Unknown" ,
"Unknown" ,
"Unknown" ,
"IM Used"
}
Definition at line 45 of file reason_phrase.c.