Skip to content

Update Redirect section with HTTPS->HTTP behavior #29

@ericlaw1979

Description

@ericlaw1979

https://mikewest.github.io/sec-metadata/#redirects explains what to do in the face of redirects, but does not clearly state what should happen on HTTP requests that are generated as a result of HTTPS->HTTP redirections.

Elsewhere in the spec, we have

To set the Fetch metadata headers for a request, given request r:
If r’s url is not an potentially trustworthy URL, return.

... but based on https://crbug.com/964053 it is not fully clear to implementers whether this restriction should apply to HTTP requests that are a result of a redirection.

Similarly, in the case of a HTTPS[1]->HTTP[2]->HTTPS[3] redirection chain, should the metadata headers be added to request number 3?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions