openser config with mysql authentication and location
[anytun.git] / Sockets / ajp13.h
blobb82f45d04571406a6682a0f323ca682a6551f229
1 /**
2 ** \file ajp13.h
3 ** \date 2007-10-05
4 ** \author grymse@alhem.net
5 **/
6 /*
7 Copyright (C) 2007 Anders Hedstrom
9 This program is free software; you can redistribute it and/or
10 modify it under the terms of the GNU General Public License
11 as published by the Free Software Foundation; either version 2
12 of the License, or (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 #ifndef _SOCKETS_Ajp13_H
24 #define _SOCKETS_Ajp13_H
26 #ifdef SOCKETS_NAMESPACE
27 namespace SOCKETS_NAMESPACE {
28 #endif
30 #define HTTP_REQUEST_ACCEPT 0xa001
31 #define HTTP_REQUEST_ACCEPT_CHARSET 0xa002
32 #define HTTP_REQUEST_ACCEPT_ENCODING 0xa003
33 #define HTTP_REQUEST_ACCEPT_LANGUAGE 0xa004
34 #define HTTP_REQUEST_AUTHORIZATION 0xa005
35 #define HTTP_REQUEST_CONNECTION 0xa006
36 #define HTTP_REQUEST_CONTENT_TYPE 0xa007
37 #define HTTP_REQUEST_CONTENT_LENGTH 0xa008
38 #define HTTP_REQUEST_COOKIE 0xa009
39 #define HTTP_REQUEST_COOKIE2 0xa00a
40 #define HTTP_REQUEST_HOST 0xa00b
41 #define HTTP_REQUEST_PRAGMA 0xa00c
42 #define HTTP_REQUEST_REFERER 0xa00d
43 #define HTTP_REQUEST_USER_AGENT 0xa00e
45 #define HTTP_METHOD_OPTIONS 1
46 #define HTTP_METHOD_GET 2
47 #define HTTP_METHOD_HEAD 3
48 #define HTTP_METHOD_POST 4
49 #define HTTP_METHOD_PUT 5
50 #define HTTP_METHOD_DELETE 6
51 #define HTTP_METHOD_TRACE 7
52 #define HTTP_METHOD_PROPFIND 8
53 #define HTTP_METHOD_PROPPATCH 9
54 #define HTTP_METHOD_MKCOL 10
55 #define HTTP_METHOD_COPY 11
56 #define HTTP_METHOD_MOVE 12
57 #define HTTP_METHOD_LOCK 13
58 #define HTTP_METHOD_UNLOCK 14
59 #define HTTP_METHOD_ACL 15
60 #define HTTP_METHOD_REPORT 16
61 #define HTTP_METHOD_VERSION_CONTROL 17 // with a dash "VERSION-CONTROL"
62 #define HTTP_METHOD_CHECKIN 18
63 #define HTTP_METHOD_CHECKOUT 19
64 #define HTTP_METHOD_UNCHECKOUT 20
65 #define HTTP_METHOD_SEARCH 21
66 #define HTTP_METHOD_MKWORKSPACE 22
67 #define HTTP_METHOD_UPDATE 23
68 #define HTTP_METHOD_LABEL 24
69 #define HTTP_METHOD_MERGE 25
70 #define HTTP_METHOD_BASELINE_CONTROL 26
71 #define HTTP_METHOD_MKACTIVITY 27
73 #define ATTR_CONTEXT 1
74 #define ATTR_SERVLET_PATH 2
75 #define ATTR_REMOTE_USER 3
76 #define ATTR_AUTH_TYPE 4
77 #define ATTR_QUERY_STRING 5
78 #define ATTR_ROUTE 6
79 #define ATTR_SSL_CERT 7
80 #define ATTR_SSL_CIPHER 8
81 #define ATTR_SSL_SESSION 9
82 #define ATTR_SSL_KEY_SIZE 11
83 #define ATTR_SECRET 12
84 #define ATTR_STORED_METHOD 13
86 #ifdef SOCKETS_NAMESPACE
87 } // namespace SOCKETS_NAMESPACE {
88 #endif
90 #endif // _SOCKETS_Ajp13_H