Apache2
|
Methods recognized (but not necessarily handled) by the server. More...
![]() |
Data Structures | |
struct | ap_method_list_t |
Structure for handling HTTP methods. More... | |
Macros | |
#define | M_GET 0 /** RFC 2616: HTTP */ |
#define | M_PUT 1 /* : */ |
#define | M_POST 2 |
#define | M_DELETE 3 |
#define | M_CONNECT 4 |
#define | M_OPTIONS 5 |
#define | M_TRACE 6 /** RFC 2616: HTTP */ |
#define | M_PATCH 7 /** RFC 5789: PATCH Method for HTTP */ |
#define | M_PROPFIND 8 /** RFC 2518: WebDAV */ |
#define | M_PROPPATCH 9 /* : */ |
#define | M_MKCOL 10 |
#define | M_COPY 11 |
#define | M_MOVE 12 |
#define | M_LOCK 13 |
#define | M_UNLOCK 14 /** RFC 2518: WebDAV */ |
#define | M_VERSION_CONTROL 15 /** RFC 3253: WebDAV Versioning */ |
#define | M_CHECKOUT 16 /* : */ |
#define | M_UNCHECKOUT 17 |
#define | M_CHECKIN 18 |
#define | M_UPDATE 19 |
#define | M_LABEL 20 |
#define | M_REPORT 21 |
#define | M_MKWORKSPACE 22 |
#define | M_MKACTIVITY 23 |
#define | M_BASELINE_CONTROL 24 |
#define | M_MERGE 25 |
#define | M_INVALID |
#define | METHODS 64 |
#define | AP_METHOD_BIT ((ap_method_mask_t)1) |
Typedefs | |
typedef apr_uint64_t | ap_method_mask_t |
typedef struct ap_method_list_t | ap_method_list_t |
Methods recognized (but not necessarily handled) by the server.
These constants are used in bit shifting masks of size int, so it is unsafe to have more methods than bits in an int. HEAD == M_GET. This list must be tracked by the list in http_protocol.c in routine ap_method_name_of().
#define AP_METHOD_BIT ((ap_method_mask_t)1) |
The method mask bit to shift for anding with a bitmask.
#define M_BASELINE_CONTROL 24 |
#define M_CHECKIN 18 |
#define M_CHECKOUT 16 /* : */ |
#define M_CONNECT 4 |
#define M_COPY 11 |
#define M_DELETE 3 |
#define M_GET 0 /** RFC 2616: HTTP */ |
#define M_INVALID |
RFC 2324: HTCPCP/1.0 RFC 2324: HTCPCP/1.0
#define M_LABEL 20 |
#define M_LOCK 13 |
#define M_MERGE 25 |
#define M_MKACTIVITY 23 |
#define M_MKCOL 10 |
#define M_MKWORKSPACE 22 |
#define M_MOVE 12 |
#define M_OPTIONS 5 |
#define M_PATCH 7 /** RFC 5789: PATCH Method for HTTP */ |
#define M_POST 2 |
#define M_PROPFIND 8 /** RFC 2518: WebDAV */ |
#define M_PROPPATCH 9 /* : */ |
#define M_PUT 1 /* : */ |
#define M_REPORT 21 |
#define M_TRACE 6 /** RFC 2616: HTTP */ |
#define M_UNCHECKOUT 17 |
#define M_UNLOCK 14 /** RFC 2518: WebDAV */ |
#define M_UPDATE 19 |
#define M_VERSION_CONTROL 15 /** RFC 3253: WebDAV Versioning */ |
#define METHODS 64 |
METHODS needs to be equal to the number of bits we are using for limit masks.
typedef struct ap_method_list_t ap_method_list_t |
typedef apr_uint64_t ap_method_mask_t |
The type used for method masks.