Hello Lothar, > After playing around a while I found out that in PostMethod.setRequestEntity() > the method clearRequestBody() is called. In that method all parameters will > be > deleted by this.params.clear(). Is that realy wanted ?
Yes. > Maybe super.clearRequestBody() needs to be called ? And when I first call > setRequestEntity() and then addParameters() the requestBody will be deleted. > So actually I can't set parameters and data for the body at same time !? What data is there except parameters? You can either add parameters to the PostMethod from which the request entity (body) will then be generated, or you set the request entity directly, for example as a MultipartRequestEntity. In that case, you add the parameters to the request entity, not the method. cheers, Roland --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
