Browse Source
HttpMessageConverterExtractor uses MessageBodyClientHttpResponseWrapper which may read the first byte of the response stream to check if there is content. After that it is necessary to use the wrapper to get the full body. This commit ensures that when UnknownContentTypeException is raised it gets the body through the wrapper, or otherwise the first byte is missed if the InputStream is not markable. Closes gh-27374pull/27386/head
Ruslan Stelmachenko
3 years ago
committed by
Rossen Stoyanchev
2 changed files with 22 additions and 2 deletions
Loading…
Reference in new issue