GitHub user catchsudheera opened a pull request:
https://github.com/apache/httpcomponents-client/pull/91
HTTPCLIENT-1690: Discarded any Content-Encoding headers coming with 304
status
Discarded any Content-Encoding headers coming with 304 status code while
updating the cache entry. Update performed on cache entry is not updating the
content, so we should not update the Content-Encoding header as well ( even if
the 304 response has it)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/catchsudheera/httpcomponents-client
remotes/upstream/4.5.x-HTTPCLIENT-1690
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/httpcomponents-client/pull/91.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #91
----
commit 494e3bffe5811750b8fcbd89d2af4485c549f86b
Author: Sudheera Palihakkara <catchsudheera@...>
Date: 2018-01-14T15:49:50Z
HTTPCLIENT-1690: Discarded any Content-Encoding header coming with 304
status code while updating the cache entry. Added a test case to test that
scenario
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]