browserify / http-browserify

node's http module, but for the browser
MIT License
244 stars 110 forks source link

case insensitive headers #91

Open vartan opened 9 years ago

vartan commented 9 years ago

I understand HTTP header names are case-insensitive (RFC 2616). I'm currently interacting with an API that does not follow protocol, it works via node's https but not browserify's.

If you want complete compatibility with node, I'd say remove the case insensitivity. Otherwise, if you want to just follow the spec, I understand.

In the meantime, I've been able to get my API working, by modifying the browserify source code to remove the tolowercase for the headers