List of HTTP Header Fields - Requests - Common Non-standard Request Headers

Common Non-standard Request Headers

Non-standard header fields were conventionally marked by prefixing the field name with X- . However, this convention became deprecated in June 2012 due to the inconveniences it caused when non-standard headers then became standard. For example, X-Gzip and Gzip are now both supported headers for compressed HTTP requests and responses.

Field name Description Example
X-Requested-With mainly used to identify Ajax requests. Most JavaScript frameworks send this header with value of XMLHttpRequest X-Requested-With: XMLHttpRequest
DNT Requests a web application to disable their tracking of a user. This is Mozilla's version of the X-Do-Not-Track header (since Firefox 4.0 Beta 11). Safari and IE9 also have support for this header. On March 7, 2011, a draft proposal was submitted to IETF. The W3C Tracking Protection Working Group is producing a specification. DNT: 1 (Do Not Track Enabled)

DNT: 0 (Do Not Track Disabled)

X-Forwarded-For a de facto standard for identifying the originating IP address of a client connecting to a web server through an HTTP proxy or load balancer X-Forwarded-For: client1, proxy1, proxy2

X-Forwarded-For: 129.78.138.66, 129.78.64.103

X-Forwarded-Proto a de facto standard for identifying the originating protocol of an HTTP request, since a reverse proxy (load balancer) may communicate with a web server using HTTP even if the request to the reverse proxy is HTTPS X-Forwarded-Proto: https
Front-End-Https Non-standard header used by Microsoft applications and load-balancers Front-End-Https: on
X-ATT-DeviceId Allows easier parsing of the MakeModel/Firmware that is usually found in the User-Agent String of AT&T Devices x-att-deviceid: MakeModel/Firmware
X-Wap-Profile Links to an XML file on the Internet with a full description and details about the device currently connecting. In the example to the right is an XML file for an AT&T Samsung Galaxy S2. x-wap-profile: http://wap.samsungmobile.com/uaprof/SGH-I777.xml
Proxy-Connection Implemented as a misunderstanding of the HTTP specifications. Common because of mistakes in implementations of early HTTP versions. Has exactly the same functionality as standard Connection header. Proxy-Connection: keep-alive

Read more about this topic:  List Of HTTP Header Fields, Requests

Famous quotes containing the words request and/or common:

    Mr. Roosevelt, this is my principal request—it is almost the last request I shall ever make of anybody. Before you leave the presidential chair, recommend Congress to submit to the Legislatures a Constitutional Amendment which will enfranchise women, and thus take your place in history with Lincoln, the great emancipator. I beg of you not to close your term of office without doing this.
    Susan B. Anthony (1820–1906)

    This is really the common mentality of prisoners: they read with great attention all the articles that deal with illnesses and send away for treatises and “be your own doctor” or “emergency treatments” and end up by discovering that they have at least 300 or 400 illnesses, whose symptoms they are experiencing.
    Antonio Gramsci (1891–1937)