My HTTP  Header

Your HTTP Request Header:  
Request Line
GET / HTTP/1.1
Host:
myhttpheader.com
User-Agent:
CCBot/2.0 (https://commoncrawl.org/faq/)
Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language:
en-US,en;q=0.5
If-Modified-Since:
Tue, 10 Sep 2024 23:32:53 GMT
Accept-Encoding:
br,gzip
x-forwarded-proto:
https
x-https:
on
X-Forwarded-For:
35.171.164.77

Description

Request Line

Header Lines

Description

HTTP Requests consist of request and header lines.  The initial request line includes the method, path and HTTP version. The header lines contain fields such as Accept, Cache-Control, Host, User-Agent, etc.  The browser's HTTP Request asks the server to send the resource and provides the server information that could alter the language, the rendering of the page, access to the resource, etc.

Request Line

The request line is the first line of the Request header.  Per RFC2616 Section 5.1 the request line consists of the Request-Method (GET, POST, etc) space Request-URI (path) space HTTP Version (0.9, 1.0, 1.1) CRLF.  No other CR's or LF's are allowed except at the end of the line.

Header Lines

There are over 30 request header line fields between HTTP versions 0.9, 1.0 and 1.1, and common non-standard header line fields.

Common request header line fields include:

Header Line Field
Description
Example
Accept
Acceptable content types
Accept: text/plain
Accept-Charset
Acceptable character sets
Accept-Charset: utf-8
Accept-Encoding
Acceptable compression encodings
Accept-Encoding: gzip, deflate
Accept-Language
Acceptable languages
Accept-Language: en-US
Cache-Control
Caching instructions
Cache-Control: max-age=0
Content-Length
Request body length in bytes
Content-Length: 1708
Content-Type
MIME type of the request body
Content-Type: application/pdf
Host
Domain name of the server listening for the request
Host: myhttpheader.com
Client's user-agent string
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:25.0) Gecko/20100101 Firefox/25.0

Other Tools

HTTP Client Request Header

HTTP Server Response Header

Password Generator

My IP Address