Apache2
List of Methods recognized by the server

Methods recognized (but not necessarily handled) by the server. More...

Collaboration diagram for List of Methods recognized by the server:

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
 

Detailed Description

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().

Macro Definition Documentation

◆ AP_METHOD_BIT

#define AP_METHOD_BIT   ((ap_method_mask_t)1)

The method mask bit to shift for anding with a bitmask.

◆ M_BASELINE_CONTROL

#define M_BASELINE_CONTROL   24

◆ M_CHECKIN

#define M_CHECKIN   18

◆ M_CHECKOUT

#define M_CHECKOUT   16 /* : */

◆ M_CONNECT

#define M_CONNECT   4

◆ M_COPY

#define M_COPY   11

◆ M_DELETE

#define M_DELETE   3

◆ M_GET

#define M_GET   0 /** RFC 2616: HTTP */

◆ M_INVALID

#define M_INVALID
Value:
26

RFC 2324: HTCPCP/1.0 RFC 2324: HTCPCP/1.0

◆ M_LABEL

#define M_LABEL   20

◆ M_LOCK

#define M_LOCK   13

◆ M_MERGE

#define M_MERGE   25

◆ M_MKACTIVITY

#define M_MKACTIVITY   23

◆ M_MKCOL

#define M_MKCOL   10

◆ M_MKWORKSPACE

#define M_MKWORKSPACE   22

◆ M_MOVE

#define M_MOVE   12

◆ M_OPTIONS

#define M_OPTIONS   5

◆ M_PATCH

#define M_PATCH   7 /** RFC 5789: PATCH Method for HTTP */

◆ M_POST

#define M_POST   2

◆ M_PROPFIND

#define M_PROPFIND   8 /** RFC 2518: WebDAV */

◆ M_PROPPATCH

#define M_PROPPATCH   9 /* : */

◆ M_PUT

#define M_PUT   1 /* : */

◆ M_REPORT

#define M_REPORT   21

◆ M_TRACE

#define M_TRACE   6 /** RFC 2616: HTTP */

◆ M_UNCHECKOUT

#define M_UNCHECKOUT   17

◆ M_UNLOCK

#define M_UNLOCK   14 /** RFC 2518: WebDAV */

◆ M_UPDATE

#define M_UPDATE   19

◆ M_VERSION_CONTROL

#define M_VERSION_CONTROL   15 /** RFC 3253: WebDAV Versioning */

◆ METHODS

#define METHODS   64

METHODS needs to be equal to the number of bits we are using for limit masks.

Typedef Documentation

◆ ap_method_list_t

◆ ap_method_mask_t

The type used for method masks.