List of usage examples for org.apache.commons.httpclient.methods MultipartPostMethod setUseExpectHeader
public void setUseExpectHeader(boolean paramBoolean)
From source file:org.openmicroscopy.is.HttpImageServer.java
/** * Creates the HTTP method object for this instance to use. Can * be overridden if a class other than the default should be used. */// w ww . j a v a 2s .co m protected MultipartPostMethod createPostMethod() { MultipartPostMethod post = new MultipartPostMethod(url); post.setUseExpectHeader(false); return post; }