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