|
Apache HTTPD
|
| #define ap_is_HTTP_CLIENT_ERROR | ( | x | ) | (((x) >= 400)&&((x) < 500)) |
| #define ap_is_HTTP_ERROR | ( | x | ) | (((x) >= 400)&&((x) < 600)) |
| #define ap_is_HTTP_INFO | ( | x | ) | (((x) >= 100)&&((x) < 200)) |
| #define ap_is_HTTP_REDIRECT | ( | x | ) | (((x) >= 300)&&((x) < 400)) |
| #define ap_is_HTTP_SERVER_ERROR | ( | x | ) | (((x) >= 500)&&((x) < 600)) |
| #define ap_is_HTTP_SUCCESS | ( | x | ) | (((x) >= 200)&&((x) < 300)) |
| #define ap_is_HTTP_VALID_RESPONSE | ( | x | ) | (((x) >= 100)&&((x) < 600)) |
| #define ap_status_drops_connection | ( | x | ) |
should the status code drop the connection
| #define AP_STATUS_IS_HEADER_ONLY | ( | x | ) |
does the status imply header only response (i.e. never w/ a body)?
| #define RESPONSE_CODES 103 |
The size of the static status_lines array in http_protocol.c for storing all of the potential response status-lines (a sparse table). When adding a new code here add it to status_lines as well. A future version should dynamically generate the apr_table_t at startup.