asp.net web api - Microsoft.Owin.Cors doesn't return `Access-Control-Expose-Headers` -


many blog postings out on web today webapi 2.0 project , owin, enabling cors easy.

app.usecors(corsoptions.allowall); 

however, i've never seen access-control-expose-headers returned api, either in response or options preflight.

i've altered usecors setup code explicitly set list of header names expose in cors policy.

i haven't cors knowledge assert microsoft.owin.cors package broken, though have hunch , blogger's testing primitive apis.

armed information question on here, think library broken in respect cors specification.

cors - when return `access-control-expose-headers`

i'll switch using system.web.http.cors package @thomas mentions in comment above.


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) -