[
https://issues.apache.org/jira/browse/HTTPCORE-342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13669281#comment-13669281
]
Oleg Kalnichevski commented on HTTPCORE-342:
--------------------------------------------
Arūnas
I am simply unable to test all possible combinations of deprecated and new
classes. Just make sure you are not using any deprecated stuff.
If you still want this problem fixed for deprecated code, get me wire logs: one
that works and another one that does not.
Oleg
> 'expect-continue' issue.
> ------------------------
>
> Key: HTTPCORE-342
> URL: https://issues.apache.org/jira/browse/HTTPCORE-342
> Project: HttpComponents HttpCore
> Issue Type: Task
> Affects Versions: 4.3-beta2, 4.3-beta3
> Reporter: Arūnas Bendoraitis
>
> I'm not really sure why it happens, but I manage to backtrack changes to a
> single commit.
> Not sure why it was reverted, but this revision now causes some problems with
> some hosts:
> Revision: 58760a12132862d1cc284585415a1440f2a1317b
> Author: Oleg Kalnichevski <[email protected]>
> Date: 2012.11.21 17:58:58
> Message:
> Reverted changes introducing 'expect-continue' context attribute
> git-svn-id:
> https://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk@1412159
> 13f79535-47bb-0310-9956-ffa450edef68
> ----
> Modified:
> httpcore-nio/src/test/java/org/apache/http/nio/integration/TestHttpAsyncHandlers.java
> Modified: httpcore/src/examples/org/apache/http/examples/ElementalHttpGet.java
> Modified:
> httpcore/src/examples/org/apache/http/examples/ElementalHttpPost.java
> Modified:
> httpcore/src/main/java/org/apache/http/protocol/ExecutionContext.java
> Modified: httpcore/src/main/java/org/apache/http/protocol/HttpCoreContext.java
> Modified:
> httpcore/src/main/java/org/apache/http/protocol/RequestExpectContinue.java
> Modified: httpcore/src/test/java/org/apache/http/integration/TestSyncHttp.java
> Modified:
> httpcore/src/test/java/org/apache/http/protocol/TestStandardInterceptors.java
> For example:
> HttpClient httpclient = new DecompressingHttpClient();
> final List<NameValuePair> params = new ArrayList<NameValuePair>();
> params.add(new BasicNameValuePair("vb_login_username", "test123"));
> params.add(new BasicNameValuePair("vb_login_password", "test123"));
> HttpPost httpPost = new
> HttpPost("http://www.majaa.net/login.php?do=login");
> httpPost.setEntity(new UrlEncodedFormEntity(params, "UTF-8"));
> HttpResponse response = httpclient.execute(httpPost);
> System.out.println(response.getStatusLine().getStatusCode());
> This at the moment will output http status of 417 (which is not as excepted,
> since it does not process request normally).
> If I revert that revision which mentioned above it works fine and outputs 302
> (which is what is expected).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]