xuofeng / oauth

Automatically exported from code.google.com/p/oauth
0 stars 0 forks source link

Ability to HttpClient4 to set Boolean Parameter CoreProtocolPNames.USE_EXPECT_CONTINUE to false #140

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. twitter update.xml call using HttpClient4 
2. twitter returns 417 Expectation Failed error

in the net.oauth.client.httpclient4.httpclient4 class a change needs to be
made to the method
public HttpResponseMessage execute(HttpMessage request, Map<String, Object>
parameters) throws IOException {

that allows the for the following call to be made
params.setBooleanParameter(CoreProtocolPNames.USE_EXPECT_CONTINUE,false); 

Original issue reported on code.google.com by michaels...@gmail.com on 5 Jan 2010 at 6:15

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

I committed a fix to Subversion:

http://code.google.com/p/oauth/source/detail?r=1221

Original comment by sean%sea...@gtempaccount.com on 1 Jun 2010 at 6:54