rest - CORS - When to return `Access-Control-Expose-Headers` -


should access-control-expose-headers header field returned along entity in response 'actual' request?

or should returned in response cors preflight request?

or both?

according flow chart on following page, answer in response actual request: http://www.html5rocks.com/en/tutorials/cors/#toc-cors-server-flowchart


Comments

Popular posts from this blog

Unlimited choices in BASH case statement -

Redirect to a HTTPS version using .htaccess -

javascript - jQuery: Add class depending on URL in the best way -