mcavage/node-restify — Issue #67: Extend Access-Control-Allow-Headers
Author: fnogatz
Created: 2012-02-03 16:41:53+00:00
State: open

Hi Mark,

I've found no way to extend the Access-Control-Allow-Headers header. For the ETagChecker I wanted to add If-Match and If-None-Match once the plugin is used. Unfortunately I can only override this header via `res.header('Access-Control-Allow-Headers', ...)` but not extend it, not even with

res.header('Access-Control-Allow-Headers', res.header('Access-Control-Allow-Headers')+', If-Match, If-None-Match')

Would be nice to have an option to extend this list.

Greetings from Germany,
Falco