Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
`Access-Control-Allow-Origin` pointing to an origin should include `Vary: Origin` #192
Comments
A note seems to be a good start. Maybe the note can be attached to a commented out directive: # (1)
# Header append Vary Origin |
When
Access-Control-Allow-Origin
points to a URL rather than*
, thenVary: Origin
should be sent along with the response.Sources:
All of the CORS configs use
*
in the examples. But if anything, there could potentially be a note of this inrequests.conf
? Or something better than just a note?