Suggestion to support Content Type parsing in HttpHeaders #4331
Closed
Description
HttpHeaders already has specific methods for such popular and simple headers like "Host", but if I need to convert POST raw body to string I need to parse complex ContentType header in my code.
Would be great to add two methods to HttpHeaders class to parse values from content-type header of message
<SomeWrapperForMimeType> HttpHeaders#getMIMETypeValue(HttpMessage message)
Charset HttpHeaders#getCharsetValue(HttpMessage message)