zf-fr / zfr-cors

A Zend Framework 2 module that helps you to deal with Cross-Origin Resource Sharing (CORS)
MIT License
60 stars 39 forks source link

Added Vary-Header when there's no Origin. #30

Closed w3z315 closed 8 years ago

w3z315 commented 8 years ago

Ensure that the vary header is set when no origin is set to prevent reverse proxy caching a wrong request; causing all of the following requests to fail due to missing CORS headers.

w3z315 commented 8 years ago

Well, the build failed. Let me check that.