commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <>
Subject Re: [HttpClient] Problems with PUT and NTLM
Date Fri, 13 Aug 2004 22:11:21 GMT

I missed the fact that the server reported a 500 error, which actually
indicates an internal server error rather than an authentication error.
Still, the 'expect-continue' handshake may be worth a try

If Slide exposes the underlying HTTP PUT method you can activate the
'expect-continue' handshake by calling 


For details see

You may also consider testing that HTTP PUT method using just plain
HttpClient with the wirelog turned on in order to get more details on
what is going on under the hood

Hope this helps


On Fri, 2004-08-13 at 23:45, Matthew Beermann wrote:
> I'm trying to do a PUT with NTLM turned on, and it fails on a 500
> error from the server, which in turn causes the console to report a
> "Unbuffered entity enclosing request can not be repeated" error. Other
> commands though, like PROPFIND and MKCOL, go through the
> authentication steps and work perfectly. I've attached a log showing
> the client/server conversation.
> OlegK suggested that I should activate the expect-continue handshake
> on the HttpClient, which might fix my problems, but I'm afraid I
> cannot figure out for the life of me how to do so. I should mention
> that I'm working with HttpClient through Slide, and as such, I'm not
> interfacing with HttpClient directly. (Which is to say, the Slide
> library is creating PutMethod instances, not me.)
> --Matthew Beermann
> ______________________________________________________________________
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message