hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Berger (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HTTPCLIENT-1009) http client cache: SizeLimitedResponseReader is not setting content type for InputStreamEntity in constructResponse()
Date Sat, 09 Oct 2010 21:26:32 GMT

     [ 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message