1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * soup-method.h: HTTP Method defines and related processing.
6 * Alex Graveley (alex@ximian.com)
8 * Copyright (C) 2001, Ximian, Inc.
12 #define SOUP_METHOD_H 1
14 #define SOUP_METHOD_POST "POST"
15 #define SOUP_METHOD_GET "GET"
16 #define SOUP_METHOD_HEAD "HEAD"
17 #define SOUP_METHOD_OPTIONS "OPTIONS"
18 #define SOUP_METHOD_PUT "PUT"
19 #define SOUP_METHOD_MOVE "MOVE"
20 #define SOUP_METHOD_COPY "COPY"
21 #define SOUP_METHOD_DELETE "DELETE"
22 #define SOUP_METHOD_TRACE "TRACE"
23 #define SOUP_METHOD_CONNECT "CONNECT"
24 #define SOUP_METHOD_MKCOL "MKCOL"
25 #define SOUP_METHOD_PROPPATCH "PROPPATCH"
26 #define SOUP_METHOD_PROPFIND "PROPFIND"
27 #define SOUP_METHOD_PATCH "PATCH"
28 #define SOUP_METHOD_LOCK "LOCK"
29 #define SOUP_METHOD_UNLOCK "UNLOCK"
32 SOUP_METHOD_ID_UNKNOWN = 0,
36 SOUP_METHOD_ID_OPTIONS,
40 SOUP_METHOD_ID_DELETE,
42 SOUP_METHOD_ID_CONNECT,
44 SOUP_METHOD_ID_PROPPATCH,
45 SOUP_METHOD_ID_PROPFIND,
51 SoupMethodId soup_method_get_id (const char *method);
53 #endif /* SOUP_METHOD_H */