spring-attic / http

Apache License 2.0
7 stars 12 forks source link

Fix content-type Mapping #7

Closed garyrussell closed 7 years ago

garyrussell commented 7 years ago

See comment in DefaultMixedCaseContentTypeHttpHeaderMapper.

 * Copy of SI 4.3.9 mapper with contentType case-insensitive test - when
 * ServletServerHttpRequest.getHeaders() encounters a content-type with encoding, it is left
 * as lower case; when it has no encoding, it becomes Content-Type.
 *
 * TODO: Remove when we migrate to Spring Integration 5.0.