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 | Tk
- HTTP headers | Via
- HTTP headers | DNT
- HTTP headers | Alt-Svc
- HTTP headers | Allow
- HTTP Headers | TE
- HTTP headers | Age
- HTTP headers
- HTTP headers | If-None-Match
- HTTP headers | Connection
- HTTP headers | Want-Digest
- HTTP headers | X-Forwarded-For
- HTTP headers | Trailer
- HTTP headers | Host
- HTTP headers | Accept-CH
- HTTP headers | Referer
- HTTP headers | Retry-After
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.