Clemens Eisserer wrote: > PutMethod putMethod = new PutMethod(upLoadURL); > putMethod.setDoAuthentication(true); > putMethod.setRequestBody(new > FastByteArrayInputStream(payLoad)); > server.getHttpClient().executeMethod(putMethod);
I've never heard of FastByteArrayInputStream. Is this some Java 6 stuff? setRequestBody is deprecated. Since you've got the data already, use the ByteArrayRequestEntity. > The code works quite well without a > proxy in between. Maybe the proxy doesn't support PUT request correctly? Have you tried POST instead? Consider sending us a wire log: http://jakarta.apache.org/commons/httpclient/logging.html cheers, Roland --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]