Dell DX6004S DX Object Storage Application Guide - Page 80
Appendix B. Sample Code and Client Library Behaviors with 100, Continue
View all Dell DX6004S manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 80 highlights
Appendix B. Sample Code and Client Library Behaviors with 100Continue The best practice for integrators is to use the DX Storage Software Development Kit, which includes fully implementations of the SCSP protocol in multiple languages. Integrators not using the Software Development Kit should be aware of the following inconsistencies with 100-Continue: Python httplib. The Python httplib does not alter its behavior in the presence of a 100-continue header, and will send the complete request body without waiting for the continue response from the server. The Python SDK does not use httplib and does handle 100-continue headers correctly. C#/.NET WebClient/HttpWebRequest. HttpWebRequest does not alter its behavior in the presence of a 100-continue header, and sends the complete request body without waiting for the continue response from the server. Your client application is informed when a 100-continue header is encountered. Java Apache Commons http client (org.apache.commons.httpclient). The Apache commons http client does handle 100-continue correctly after setting the POST method parameter as in the code snippet below: method.getParams().setParameter(HttpMethodParams.USE_EXPECT_CONTINUE, new Boolean(true) ); Copyright © 2010 Caringo, Inc. All rights reserved 75 Version 5.0 December 2010