My change (#1098) has side effect because of the header values of rawHeaders
are not always same with the values of headers
. ( #1101 (closed), #1102, #1103 (closed))
This PR includes these changes to solve it:
- Overwrite only key, not value.
- Overwrite key if raw header key is available.
- Add
preserveHeaderKeyCase
option (default: false).
@jcrugzz I'd like to hear your thought.
I have to add specs before marge this. Sorry for any inconvenience, and thanks to all.