The static fields in HttpCoreContext should be accessed directly.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558051 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2014-01-14 14:41:37 +00:00
parent 1dbd3e4fd5
commit 988b769bfd
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ public class ProtocolExec implements ClientExecChain {
context, execAware);
try {
// Run response protocol interceptors
context.setAttribute(HttpClientContext.HTTP_RESPONSE, response);
context.setAttribute(HttpCoreContext.HTTP_RESPONSE, response);
this.httpProcessor.process(response, context);
return response;
} catch (final RuntimeException ex) {