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
PUT /test/returnoftheking_nl480_dl.mov HTTP/1.1
Content-Type: application/octet-stream
User-Agent: Jakarta Commons-HttpClient/2.0final
Host: [removed]
Content-Length: 28221814
Authorization: NTLM 
TlRMTVNTUAABAAAABlIAAAgACAAtAAAADQANACAAAABBTkRSRVcgRU1CVVJZRVhDSEFOR0U=


HTTP/1.1 500 Server Error
Server: Microsoft-IIS/5.0
Date: Fri, 13 Aug 2004 19:55:29 GMT
Connection: close
WWW-Authenticate: NTLM 
TlRMTVNTUAACAAAACAAIADgAAAAGAoEC6C86sKfhfQcAAAAAAAAAAKIAogBAAAAABQCTCAAAAA9FWENIQU5HRQIAEABFAFgAQwBIAEEATgBHAEUAAQAQAE4AQQBOAE8AUwBSAFYAMQAEAC4AZQB4AGMAaABhAG4AZwBlAC4AbgBhAG4AbwBuAGEAdABpAG8AbgAuAG4AZQB0AAMAQABuAGEAbgBvAHMAcgB2ADEALgBlAHgAYwBoAGEAbgBnAGUALgBuAGEAbgBvAG4AYQB0AGkAbwBuAC4AbgBlAHQAAAAAAA==
Content-Type: text/html
Content-Length: 87

<html><head><title>Error</title></head><body>The parameter is incorrect. </body></html>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to