webpro / dyson

Node server for dynamic, fake JSON.
837 stars 62 forks source link

Content-Type is converted to lowercase #98

Closed Madayano closed 5 years ago

Madayano commented 5 years ago

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?

webpro commented 5 years ago

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