Closed agchou closed 9 years ago
By default, options.allowMultipleHeaders if false if not specified. Fixing mistake in example code which says that it is true by default.
Checked source code and found this to confirm (lib/index.js: 13).
"options.allowMultipleHeaders = options.allowMultipleHeaders === true ? true : false;"
Thanks for the pull request!
No problem. I was going to make a change for accessing multiple headers but see that @atomantic already got that done in a separate repo :+1:
By default, options.allowMultipleHeaders if false if not specified. Fixing mistake in example code which says that it is true by default.
Checked source code and found this to confirm (lib/index.js: 13).
"options.allowMultipleHeaders = options.allowMultipleHeaders === true ? true : false;"