You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possibly relevant spec references: HTTP/1.1 prohibits senders from generating headers with duplicate names "unless either the entire field value for that header field is defined as a comma-separated list [i.e., #(values)] or the header field is a well-known exception [i.e., Set-Cookie]", but provides no guidance on what recipients of such malformed messages should do. HTTP/2 allows but does not require servers to generate a response, but requires clients to reject malformed responses (which include those with header errors).
Since Refresh doesn't make sense as a comma-separated list, treating extra assignments as errors seems logical.
Activity
Define the HTTP Refresh header
gibson042 commentedon Aug 9, 2017
Possibly relevant spec references:
HTTP/1.1 prohibits senders from generating headers with duplicate names "unless either the entire field value for that header field is defined as a comma-separated list [i.e., #(values)] or the header field is a well-known exception [i.e., Set-Cookie]", but provides no guidance on what recipients of such malformed messages should do.
HTTP/2 allows but does not require servers to generate a response, but requires clients to reject malformed responses (which include those with header errors).
Since
Refreshdoesn't make sense as a comma-separated list, treating extra assignments as errors seems logical.mcmanus commentedon Aug 18, 2017
So I can't find a definiton of refresh (though the dom code supports it).. I suggest you define it, and then we can treat it like location
annevk commentedon Aug 21, 2017
Step 9 of https://html.spec.whatwg.org/#initialise-the-document-object defines it, but currently multiple headers is an open issue.
Define the HTTP Refresh header