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

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -