webpro / dyson

Node server for dynamic, fake JSON.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Content-Type is converted to lowercase

Madayano opened this issue · comments

Hi,
I have an issue when i set the content-type with res.append('Content-Type', 'UPPERCASE-CONTENT-TYPE');. The response I receive is then written in lower case: uppercase-content-type.

Is there a way to set the value without it being written in lower case?

The req and res arguments come from Express, so I can't help you with this :)