jfhbrook / node-ecstatic

A static file server middleware that works with core http, express or on the CLI!
https://github.com/jfhbrook/node-ecstatic
MIT License
975 stars 194 forks source link

[FEAT] Set Access-Control-Expose-Headers #213

Open dotnetCarpenter opened 6 years ago

dotnetCarpenter commented 6 years ago

In my current project I need to set Access-Control-Expose-Headers: Content-Length

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers

@jfhbrook I'm currently swamped at work, so would like to postpone our hackathon to beginning of February. I plan to take a swing at #209, #193, #154, #88 and mime types.

jfhbrook commented 6 years ago

no worries timing-wise, my personal life has been a little nuts lately and I probably won't have bandwidth until mid-feb anyway