|
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
|
2 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
3 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
5 |
|
6 /****** |
|
7 This file contains the list of all HTTP atoms |
|
8 See nsHttp.h for access to the atoms. |
|
9 |
|
10 It is designed to be used as inline input to nsHttp.cpp *only* |
|
11 through the magic of C preprocessing. |
|
12 |
|
13 All entries must be enclosed in the macro HTTP_ATOM which will have cruel |
|
14 and unusual things done to it. |
|
15 |
|
16 The first argument to HTTP_ATOM is the C++ name of the atom. |
|
17 The second argument to HTTP_ATOM is the string value of the atom. |
|
18 ******/ |
|
19 |
|
20 HTTP_ATOM(Accept, "Accept") |
|
21 HTTP_ATOM(Accept_Encoding, "Accept-Encoding") |
|
22 HTTP_ATOM(Accept_Language, "Accept-Language") |
|
23 HTTP_ATOM(Accept_Ranges, "Accept-Ranges") |
|
24 HTTP_ATOM(Age, "Age") |
|
25 HTTP_ATOM(Allow, "Allow") |
|
26 HTTP_ATOM(Assoc_Req, "Assoc-Req") |
|
27 HTTP_ATOM(Authentication, "Authentication") |
|
28 HTTP_ATOM(Authorization, "Authorization") |
|
29 HTTP_ATOM(Cache_Control, "Cache-Control") |
|
30 HTTP_ATOM(Connection, "Connection") |
|
31 HTTP_ATOM(Content_Disposition, "Content-Disposition") |
|
32 HTTP_ATOM(Content_Encoding, "Content-Encoding") |
|
33 HTTP_ATOM(Content_Language, "Content-Language") |
|
34 HTTP_ATOM(Content_Length, "Content-Length") |
|
35 HTTP_ATOM(Content_Location, "Content-Location") |
|
36 HTTP_ATOM(Content_MD5, "Content-MD5") |
|
37 HTTP_ATOM(Content_Range, "Content-Range") |
|
38 HTTP_ATOM(Content_Type, "Content-Type") |
|
39 HTTP_ATOM(Cookie, "Cookie") |
|
40 HTTP_ATOM(Date, "Date") |
|
41 HTTP_ATOM(DAV, "DAV") |
|
42 HTTP_ATOM(Depth, "Depth") |
|
43 HTTP_ATOM(Destination, "Destination") |
|
44 HTTP_ATOM(DoNotTrack, "DNT") |
|
45 HTTP_ATOM(ETag, "Etag") |
|
46 HTTP_ATOM(Expect, "Expect") |
|
47 HTTP_ATOM(Expires, "Expires") |
|
48 HTTP_ATOM(From, "From") |
|
49 HTTP_ATOM(Host, "Host") |
|
50 HTTP_ATOM(If, "If") |
|
51 HTTP_ATOM(If_Match, "If-Match") |
|
52 HTTP_ATOM(If_Modified_Since, "If-Modified-Since") |
|
53 HTTP_ATOM(If_None_Match, "If-None-Match") |
|
54 HTTP_ATOM(If_None_Match_Any, "If-None-Match-Any") |
|
55 HTTP_ATOM(If_Range, "If-Range") |
|
56 HTTP_ATOM(If_Unmodified_Since, "If-Unmodified-Since") |
|
57 HTTP_ATOM(Keep_Alive, "Keep-Alive") |
|
58 HTTP_ATOM(Last_Modified, "Last-Modified") |
|
59 HTTP_ATOM(Lock_Token, "Lock-Token") |
|
60 HTTP_ATOM(Link, "Link") |
|
61 HTTP_ATOM(Location, "Location") |
|
62 HTTP_ATOM(Max_Forwards, "Max-Forwards") |
|
63 HTTP_ATOM(Overwrite, "Overwrite") |
|
64 HTTP_ATOM(Pragma, "Pragma") |
|
65 HTTP_ATOM(Prefer, "Prefer") |
|
66 HTTP_ATOM(Proxy_Authenticate, "Proxy-Authenticate") |
|
67 HTTP_ATOM(Proxy_Authorization, "Proxy-Authorization") |
|
68 HTTP_ATOM(Proxy_Connection, "Proxy-Connection") |
|
69 HTTP_ATOM(Range, "Range") |
|
70 HTTP_ATOM(Referer, "Referer") |
|
71 HTTP_ATOM(Retry_After, "Retry-After") |
|
72 HTTP_ATOM(Server, "Server") |
|
73 HTTP_ATOM(Set_Cookie, "Set-Cookie") |
|
74 HTTP_ATOM(Set_Cookie2, "Set-Cookie2") |
|
75 HTTP_ATOM(Status_URI, "Status-URI") |
|
76 HTTP_ATOM(TE, "TE") |
|
77 HTTP_ATOM(Title, "Title") |
|
78 HTTP_ATOM(Timeout, "Timeout") |
|
79 HTTP_ATOM(Trailer, "Trailer") |
|
80 HTTP_ATOM(Transfer_Encoding, "Transfer-Encoding") |
|
81 HTTP_ATOM(URI, "URI") |
|
82 HTTP_ATOM(Upgrade, "Upgrade") |
|
83 HTTP_ATOM(User_Agent, "User-Agent") |
|
84 HTTP_ATOM(Vary, "Vary") |
|
85 HTTP_ATOM(Version, "Version") |
|
86 HTTP_ATOM(WWW_Authenticate, "WWW-Authenticate") |
|
87 HTTP_ATOM(Warning, "Warning") |
|
88 HTTP_ATOM(X_Firefox_Spdy, "X-Firefox-Spdy") |
|
89 |
|
90 // methods are case sensitive and do not use atom table |