[
https://issues.apache.org/jira/browse/HTTPCLIENT-1009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Berger updated HTTPCLIENT-1009:
-------------------------------------
Attachment: entity.patch
I was not referring to the response headers which are correctly copied over,
but the entity attributes which are not copied over. I'm attaching a patch +
test case that fixes the issue.
I think I signed a waiver a few years ago that allows me to contribute to the
apache commons.
> http client cache: SizeLimitedResponseReader is not setting content type for
> InputStreamEntity in constructResponse()
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-1009
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1009
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: Cache
> Affects Versions: 4.1 Alpha2
> Reporter: Felix Berger
> Attachments: entity.patch, test_reconstructed_response_headers.patch
>
>
> the newly created InputStreamEntity should be populated with content-encoding
> and content-type.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]