The HTTP From header is request type header it indicates an e-mail address that is sent to the client through a robotic agent. The agent will be a crawler or a user robotic agent which is run by the main user. The header field contains an Internet e-mail address for a user or a client who is requesting a user agent. The main advantage is that if the robotic agent sends an unwanted request to the client, then the main user can be contacted. The From header filed can have many purposes like logging and also as an investigator to know about the origin of excessive requests. The e-mail address used in From header should be different from Host header due to security purposes.
Directives: This header accept a single directive as mentioned above and descrived below
- <email>: This directive represents a machine-usable email address.
Note: Prefer to not use it for Authentication or validation process Examples:
Supported Browsers: The browsers supported by HTTP Form Header are listed below:
- Google Chrome
- Internet Explorer
- HTTP headers | Access-Control-Expose-Headers
- HTTP headers | Access-Control-Request-Headers
- HTTP headers | Access-Control-Allow-Headers.
- HTTP headers | Via
- HTTP Headers | TE
- HTTP headers | Alt-Svc
- HTTP headers | DNT
- HTTP headers
- HTTP headers | Age
- HTTP headers | Allow
- HTTP headers | Tk
- HTTP headers | Range
- HTTP headers | Set-Cookie
- HTTP headers | SourceMap
- HTTP headers | expires
- HTTP headers | Expect-CT
- HTTP headers | Server
- HTTP headers | Host
- HTTP headers | Connection
- HTTP headers | Accept
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.