sharanggupta opened a new pull request, #749:
URL: https://github.com/apache/httpcomponents-core/pull/749

   `ContentType.withParameters` compares parameter names case-sensitively, 
unlike `getParameter` and `create`. For `ContentType.parse("text/plain; 
Charset=UTF-8")`, `withParameters(p=blah)` gives `text/plain; charset=UTF-8; 
Charset=UTF-8; p=blah`, and `withParameters(charset=US-ASCII)` leaves the 
charset at UTF-8. Names are now matched without regard to case; 
`TestContentType#testWithParamsNameCaseInsensitive` fails without the change.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to