Line data Source code
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 2 : HTTP_ATOM(Accept, "Accept")
21 2 : HTTP_ATOM(Accept_Encoding, "Accept-Encoding")
22 2 : HTTP_ATOM(Accept_Language, "Accept-Language")
23 2 : HTTP_ATOM(Accept_Ranges, "Accept-Ranges")
24 2 : HTTP_ATOM(Access_Control_Allow_Origin,"Access-Control-Allow-Origin")
25 2 : HTTP_ATOM(Age, "Age")
26 2 : HTTP_ATOM(Allow, "Allow")
27 2 : HTTP_ATOM(Alternate_Service, "Alt-Svc")
28 2 : HTTP_ATOM(Alternate_Service_Used, "Alt-Used")
29 2 : HTTP_ATOM(Assoc_Req, "Assoc-Req")
30 2 : HTTP_ATOM(Authentication, "Authentication")
31 2 : HTTP_ATOM(Authorization, "Authorization")
32 2 : HTTP_ATOM(Cache_Control, "Cache-Control")
33 2 : HTTP_ATOM(Connection, "Connection")
34 2 : HTTP_ATOM(Content_Disposition, "Content-Disposition")
35 2 : HTTP_ATOM(Content_Encoding, "Content-Encoding")
36 2 : HTTP_ATOM(Content_Language, "Content-Language")
37 2 : HTTP_ATOM(Content_Length, "Content-Length")
38 2 : HTTP_ATOM(Content_Location, "Content-Location")
39 2 : HTTP_ATOM(Content_MD5, "Content-MD5")
40 2 : HTTP_ATOM(Content_Range, "Content-Range")
41 2 : HTTP_ATOM(Content_Type, "Content-Type")
42 2 : HTTP_ATOM(Cookie, "Cookie")
43 2 : HTTP_ATOM(Date, "Date")
44 2 : HTTP_ATOM(DAV, "DAV")
45 2 : HTTP_ATOM(Depth, "Depth")
46 2 : HTTP_ATOM(Destination, "Destination")
47 2 : HTTP_ATOM(DoNotTrack, "DNT")
48 2 : HTTP_ATOM(ETag, "Etag")
49 2 : HTTP_ATOM(Expect, "Expect")
50 2 : HTTP_ATOM(Expires, "Expires")
51 2 : HTTP_ATOM(From, "From")
52 2 : HTTP_ATOM(Host, "Host")
53 2 : HTTP_ATOM(If, "If")
54 2 : HTTP_ATOM(If_Match, "If-Match")
55 2 : HTTP_ATOM(If_Modified_Since, "If-Modified-Since")
56 2 : HTTP_ATOM(If_None_Match, "If-None-Match")
57 2 : HTTP_ATOM(If_None_Match_Any, "If-None-Match-Any")
58 2 : HTTP_ATOM(If_Range, "If-Range")
59 2 : HTTP_ATOM(If_Unmodified_Since, "If-Unmodified-Since")
60 2 : HTTP_ATOM(Keep_Alive, "Keep-Alive")
61 2 : HTTP_ATOM(Last_Modified, "Last-Modified")
62 2 : HTTP_ATOM(Lock_Token, "Lock-Token")
63 2 : HTTP_ATOM(Link, "Link")
64 2 : HTTP_ATOM(Location, "Location")
65 2 : HTTP_ATOM(Max_Forwards, "Max-Forwards")
66 2 : HTTP_ATOM(Overwrite, "Overwrite")
67 2 : HTTP_ATOM(Pragma, "Pragma")
68 2 : HTTP_ATOM(Prefer, "Prefer")
69 2 : HTTP_ATOM(Proxy_Authenticate, "Proxy-Authenticate")
70 2 : HTTP_ATOM(Proxy_Authorization, "Proxy-Authorization")
71 2 : HTTP_ATOM(Proxy_Connection, "Proxy-Connection")
72 2 : HTTP_ATOM(Range, "Range")
73 2 : HTTP_ATOM(Referer, "Referer")
74 2 : HTTP_ATOM(Retry_After, "Retry-After")
75 2 : HTTP_ATOM(Server, "Server")
76 2 : HTTP_ATOM(Service_Worker_Allowed, "Service-Worker-Allowed")
77 2 : HTTP_ATOM(Set_Cookie, "Set-Cookie")
78 2 : HTTP_ATOM(Set_Cookie2, "Set-Cookie2")
79 2 : HTTP_ATOM(Status_URI, "Status-URI")
80 2 : HTTP_ATOM(Strict_Transport_Security, "Strict-Transport-Security")
81 2 : HTTP_ATOM(TE, "TE")
82 2 : HTTP_ATOM(Title, "Title")
83 2 : HTTP_ATOM(Timeout, "Timeout")
84 2 : HTTP_ATOM(Trailer, "Trailer")
85 2 : HTTP_ATOM(Transfer_Encoding, "Transfer-Encoding")
86 2 : HTTP_ATOM(URI, "URI")
87 2 : HTTP_ATOM(Upgrade, "Upgrade")
88 2 : HTTP_ATOM(User_Agent, "User-Agent")
89 2 : HTTP_ATOM(Vary, "Vary")
90 2 : HTTP_ATOM(Version, "Version")
91 2 : HTTP_ATOM(WWW_Authenticate, "WWW-Authenticate")
92 2 : HTTP_ATOM(Warning, "Warning")
93 2 : HTTP_ATOM(X_Content_Type_Options, "X-Content-Type-Options")
94 2 : HTTP_ATOM(X_Firefox_Spdy, "X-Firefox-Spdy")
95 2 : HTTP_ATOM(X_Firefox_Spdy_Proxy, "X-Firefox-Spdy-Proxy")
96 2 : HTTP_ATOM(X_Firefox_Early_Data, "X-Firefox-Early-Data")
97 2 : HTTP_ATOM(X_Firefox_TCP_Fast_Open, "X-Firefox-TCP-Fast-Open")
98 :
99 : // methods are case sensitive and do not use atom table
|