From
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
The HTTP From
request header contains an Internet email address for an administrator who controls an automated user agent.
If you are running a robotic user agent (a web crawler, for example), the From
header must be sent in requests so you can be contacted if problems occur, such as a bot sending excessive, unwanted, or invalid requests.
Warning:
You must not use the From
header for access control or authentication.
Header type | Request header |
---|---|
Forbidden header name | No |
Syntax
http
From: <email>
Directives
<email>
-
A machine-usable email address.
Examples
http
From: webmaster@example.org
Specifications
Specification |
---|
HTTP Semantics # field.from |
Browser compatibility
BCD tables only load in the browser