android - "417: Expectation Failed" on HTTPPost -


very expect continue problem c# described here, http post returns error: 417 "expectation failed.", getting "expectation failed" error server trying post httppost object in android.

the equivalent fix prevent request using "expect continue" seems this:

httppostinstance.getparams().setparameter(     coreprotocolpnames.use_expect_continue,     boolean.false); 

i found @ http://hc.apache.org/httpcomponents-client-ga/tutorial/html/fundamentals.html under 1.6.1.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -