2001-09-29 00:14:13 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2001-05-12 01:04:09 +04:00
|
|
|
|
|
|
|
/******
|
2013-05-16 17:30:42 +04:00
|
|
|
This file contains the list of all HTTP atoms
|
2004-10-15 09:59:21 +04:00
|
|
|
See nsHttp.h for access to the atoms.
|
2001-05-12 01:04:09 +04:00
|
|
|
|
|
|
|
It is designed to be used as inline input to nsHttp.cpp *only*
|
|
|
|
through the magic of C preprocessing.
|
|
|
|
|
2004-10-15 09:59:21 +04:00
|
|
|
All entries must be enclosed in the macro HTTP_ATOM which will have cruel
|
|
|
|
and unusual things done to it.
|
2001-05-12 01:04:09 +04:00
|
|
|
|
2004-10-15 09:59:21 +04:00
|
|
|
The first argument to HTTP_ATOM is the C++ name of the atom.
|
|
|
|
The second argument to HTTP_ATOM is the string value of the atom.
|
2001-05-12 01:04:09 +04:00
|
|
|
******/
|
|
|
|
|
|
|
|
HTTP_ATOM(Accept, "Accept")
|
|
|
|
HTTP_ATOM(Accept_Encoding, "Accept-Encoding")
|
|
|
|
HTTP_ATOM(Accept_Language, "Accept-Language")
|
|
|
|
HTTP_ATOM(Accept_Ranges, "Accept-Ranges")
|
2016-06-21 01:03:55 +03:00
|
|
|
HTTP_ATOM(Access_Control_Allow_Origin,"Access-Control-Allow-Origin")
|
2001-05-12 01:04:09 +04:00
|
|
|
HTTP_ATOM(Age, "Age")
|
|
|
|
HTTP_ATOM(Allow, "Allow")
|
2014-08-21 18:50:17 +04:00
|
|
|
HTTP_ATOM(Alternate_Service, "Alt-Svc")
|
2014-11-01 00:27:14 +03:00
|
|
|
HTTP_ATOM(Alternate_Service_Used, "Alt-Used")
|
2012-03-23 03:39:31 +04:00
|
|
|
HTTP_ATOM(Assoc_Req, "Assoc-Req")
|
2001-05-12 01:04:09 +04:00
|
|
|
HTTP_ATOM(Authentication, "Authentication")
|
|
|
|
HTTP_ATOM(Authorization, "Authorization")
|
|
|
|
HTTP_ATOM(Cache_Control, "Cache-Control")
|
|
|
|
HTTP_ATOM(Connection, "Connection")
|
2009-02-19 23:25:18 +03:00
|
|
|
HTTP_ATOM(Content_Disposition, "Content-Disposition")
|
2001-05-12 01:04:09 +04:00
|
|
|
HTTP_ATOM(Content_Encoding, "Content-Encoding")
|
|
|
|
HTTP_ATOM(Content_Language, "Content-Language")
|
|
|
|
HTTP_ATOM(Content_Length, "Content-Length")
|
|
|
|
HTTP_ATOM(Content_Location, "Content-Location")
|
|
|
|
HTTP_ATOM(Content_MD5, "Content-MD5")
|
|
|
|
HTTP_ATOM(Content_Range, "Content-Range")
|
|
|
|
HTTP_ATOM(Content_Type, "Content-Type")
|
2004-10-15 09:59:21 +04:00
|
|
|
HTTP_ATOM(Cookie, "Cookie")
|
2001-05-12 01:04:09 +04:00
|
|
|
HTTP_ATOM(Date, "Date")
|
2004-10-15 09:59:21 +04:00
|
|
|
HTTP_ATOM(DAV, "DAV")
|
|
|
|
HTTP_ATOM(Depth, "Depth")
|
|
|
|
HTTP_ATOM(Destination, "Destination")
|
2011-01-05 22:53:21 +03:00
|
|
|
HTTP_ATOM(DoNotTrack, "DNT")
|
2001-05-12 01:04:09 +04:00
|
|
|
HTTP_ATOM(ETag, "Etag")
|
|
|
|
HTTP_ATOM(Expect, "Expect")
|
|
|
|
HTTP_ATOM(Expires, "Expires")
|
2004-10-15 09:59:21 +04:00
|
|
|
HTTP_ATOM(From, "From")
|
2001-05-12 01:04:09 +04:00
|
|
|
HTTP_ATOM(Host, "Host")
|
2004-10-15 09:59:21 +04:00
|
|
|
HTTP_ATOM(If, "If")
|
2001-05-12 01:04:09 +04:00
|
|
|
HTTP_ATOM(If_Match, "If-Match")
|
|
|
|
HTTP_ATOM(If_Modified_Since, "If-Modified-Since")
|
|
|
|
HTTP_ATOM(If_None_Match, "If-None-Match")
|
|
|
|
HTTP_ATOM(If_None_Match_Any, "If-None-Match-Any")
|
|
|
|
HTTP_ATOM(If_Range, "If-Range")
|
|
|
|
HTTP_ATOM(If_Unmodified_Since, "If-Unmodified-Since")
|
|
|
|
HTTP_ATOM(Keep_Alive, "Keep-Alive")
|
|
|
|
HTTP_ATOM(Last_Modified, "Last-Modified")
|
2004-10-15 09:59:21 +04:00
|
|
|
HTTP_ATOM(Lock_Token, "Lock-Token")
|
2001-05-12 01:04:09 +04:00
|
|
|
HTTP_ATOM(Link, "Link")
|
|
|
|
HTTP_ATOM(Location, "Location")
|
|
|
|
HTTP_ATOM(Max_Forwards, "Max-Forwards")
|
2004-10-15 09:59:21 +04:00
|
|
|
HTTP_ATOM(Overwrite, "Overwrite")
|
2001-05-12 01:04:09 +04:00
|
|
|
HTTP_ATOM(Pragma, "Pragma")
|
2014-04-14 08:39:13 +04:00
|
|
|
HTTP_ATOM(Prefer, "Prefer")
|
2001-05-12 01:04:09 +04:00
|
|
|
HTTP_ATOM(Proxy_Authenticate, "Proxy-Authenticate")
|
|
|
|
HTTP_ATOM(Proxy_Authorization, "Proxy-Authorization")
|
|
|
|
HTTP_ATOM(Proxy_Connection, "Proxy-Connection")
|
|
|
|
HTTP_ATOM(Range, "Range")
|
|
|
|
HTTP_ATOM(Referer, "Referer")
|
|
|
|
HTTP_ATOM(Retry_After, "Retry-After")
|
|
|
|
HTTP_ATOM(Server, "Server")
|
2015-05-06 08:14:50 +03:00
|
|
|
HTTP_ATOM(Service_Worker_Allowed, "Service-Worker-Allowed")
|
2004-10-15 09:59:21 +04:00
|
|
|
HTTP_ATOM(Set_Cookie, "Set-Cookie")
|
|
|
|
HTTP_ATOM(Set_Cookie2, "Set-Cookie2")
|
|
|
|
HTTP_ATOM(Status_URI, "Status-URI")
|
2001-05-12 01:04:09 +04:00
|
|
|
HTTP_ATOM(TE, "TE")
|
|
|
|
HTTP_ATOM(Title, "Title")
|
2004-10-15 09:59:21 +04:00
|
|
|
HTTP_ATOM(Timeout, "Timeout")
|
2001-05-12 01:04:09 +04:00
|
|
|
HTTP_ATOM(Trailer, "Trailer")
|
|
|
|
HTTP_ATOM(Transfer_Encoding, "Transfer-Encoding")
|
|
|
|
HTTP_ATOM(URI, "URI")
|
2004-10-15 09:59:21 +04:00
|
|
|
HTTP_ATOM(Upgrade, "Upgrade")
|
2001-05-12 01:04:09 +04:00
|
|
|
HTTP_ATOM(User_Agent, "User-Agent")
|
2004-10-15 09:59:21 +04:00
|
|
|
HTTP_ATOM(Vary, "Vary")
|
2001-05-12 01:04:09 +04:00
|
|
|
HTTP_ATOM(Version, "Version")
|
|
|
|
HTTP_ATOM(WWW_Authenticate, "WWW-Authenticate")
|
2004-10-15 09:59:21 +04:00
|
|
|
HTTP_ATOM(Warning, "Warning")
|
2016-07-20 13:22:27 +03:00
|
|
|
HTTP_ATOM(X_Content_Type_Options, "X-Content-Type-Options")
|
2013-04-15 17:41:27 +04:00
|
|
|
HTTP_ATOM(X_Firefox_Spdy, "X-Firefox-Spdy")
|
2014-04-16 17:52:43 +04:00
|
|
|
HTTP_ATOM(X_Firefox_Spdy_Proxy, "X-Firefox-Spdy-Proxy")
|
2001-05-12 01:04:09 +04:00
|
|
|
|
2014-03-18 20:36:18 +04:00
|
|
|
// methods are case sensitive and do not use atom table
|