Using onRequestOptions, when I set this header the function errors saying invalid header. I need to set this to allow my CORS requests.