The Date
general HTTP header contains the date and time at which the message originated.
Warning: Date
is listed in the forbidden header names in the fetch spec, so this code will not send the Date
header:
Header type | Request header, Response header |
---|---|
Forbidden header name | yes |