oduwsdl / MemGator

A Memento Aggregator CLI and Server in Go
https://memgator.cs.odu.edu/api.html
MIT License
55 stars 11 forks source link

Expose wildcard Access-Control-Expose-Headers #92

Open ibnesayeed opened 7 years ago

ibnesayeed commented 7 years ago

Currently a few headers are explicitly exposed in CORS. However, recently wildcard support arrived to the living standard as per https://github.com/whatwg/fetch/issues/251 which can be useful when all the headers are not known in advance such as in #91.

ibnesayeed commented 7 years ago

Holding until browsers implement it. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers