1
/* (C) 2008 The Measurement Factory */
3
#ifndef LIBECAP__COMMON_NAMES_H
4
#define LIBECAP__COMMON_NAMES_H
6
#include <libecap/common/name.h>
10
// various protocol elements for use with libecap::Name
12
extern const Name protocolHttp;
13
extern const Name protocolHttps;
14
extern const Name protocolFtp;
15
extern const Name protocolGopher;
16
extern const Name protocolWais;
17
extern const Name protocolUrn;
18
extern const Name protocolWhois;
20
extern const Name methodGet;
21
extern const Name methodPut;
22
extern const Name methodPost;
23
extern const Name methodHead;
24
extern const Name methodConnect;
25
extern const Name methodOptions;
26
extern const Name methodDelete;
27
extern const Name methodTrace;
29
extern const Name headerContentLength;
30
extern const Name headerTransferEncoding;
31
extern const Name headerReferer;
32
extern const Name headerVia;
33
extern const Name headerXClientIp;
34
extern const Name headerXServerIp;
36
// commonly used meta-information names, based on popular ICAP extensions
37
extern const Name metaClientIp;
38
extern const Name metaServerIp;
39
extern const Name metaUserName;
40
extern const Name metaAuthenticatedUser;
41
extern const Name metaAuthenticatedGroups;
42
extern const Name metaSubscriberId;
43
extern const Name metaVirusId;
44
extern const Name metaResponseInfo;
45
extern const Name metaResponseDesc;
46
extern const Name metaNextServices;
48
} // namespace libecap