"417:" Waiting Failed "on HTTPPost

1 answer

An equivalent fix to prevent the use of the “wait for continuation” request is as follows:

httpPostInstance.getParams().setParameter( CoreProtocolPNames.USE_EXPECT_CONTINUE, Boolean.FALSE); 

I found this at http://hc.apache.org/httpcomponents-client-ga/tutorial/html/fundamentals.html in section 1.6.1.

+16
source

Source: https://habr.com/ru/post/1342579/


All Articles