iriscouch / browser-request

Browser library compatible with Node.js request package
Apache License 2.0
360 stars 102 forks source link

Content-Type is application/json,application/json #54

Open guy-mograbi-at-gigaspaces opened 9 years ago

guy-mograbi-at-gigaspaces commented 9 years ago

If I specify 'json:true' and 'headers: { 'Content-Type' : 'application/json' }

the outgoing Content-Type header value is application/json,application/json.

I need to be able to override the Content-Type completely. if header Content-Type is specified, you should ignore it and not modify it.