Skip to content

v1 - Bring us up to spec 🎉 #51

@tim-phillips

Description

@tim-phillips

In order to bring this library up to the CORS spec, we need to accomplish the following tasks. Please review the spec and add to this list!!

Simple Cross-Origin Request, Actual Request, and Redirects

  • If the Origin header in the request is not present, stop adding headers and run handler
  • If the Origin header in the request does not match exactly, stop adding headers and run handler
  • If allowCredentials is true, Set Access-Control-Allow-Origin to the value of the Origin header (is the client responsible for rejecting if Origin is *?)

Preflight Request

Dynamic Access-Control-Allow-Origin

Specification

Supplementary reading

cc @bukinoshita @infernalmaster @lemol

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions