Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 38523 invoked from network); 13 Aug 2004 21:45:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Aug 2004 21:45:20 -0000 Received: (qmail 56142 invoked by uid 500); 13 Aug 2004 21:45:15 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 55931 invoked by uid 500); 13 Aug 2004 21:45:13 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 55917 invoked by uid 99); 13 Aug 2004 21:45:13 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_40_50,HTML_MESSAGE X-Spam-Check-By: apache.org Received: from [24.123.121.51] (HELO exchg2000.exchange.nanonation.net) (24.123.121.51) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 13 Aug 2004 14:45:11 -0700 Received: from beermann ([24.123.121.50]) by exchg2000.exchange.nanonation.net with Microsoft SMTPSVC(5.0.2195.6713); Fri, 13 Aug 2004 16:45:09 -0500 Message-ID: <002501c4817e$d3554620$0d01000a@exchange.nanonation.net> From: "Matthew Beermann" To: Subject: [HttpClient] Problems with PUT and NTLM Date: Fri, 13 Aug 2004 16:45:17 -0500 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0021_01C48154.E9E17780" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-OriginalArrivalTime: 13 Aug 2004 21:45:09.0169 (UTC) FILETIME=[CDCAAA10:01C4817E] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0021_01C48154.E9E17780 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0022_01C48154.E9E17780" ------=_NextPart_001_0022_01C48154.E9E17780 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 ------=_NextPart_001_0022_01C48154.E9E17780 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I'm trying to do a PUT with NTLM turned = on, and it=20 fails on a 500 error from the server, which in turn causes the console = to report=20 a "Unbuffered entity enclosing = request can=20 not be repeated" error. Other commands though, like PROPFIND and MKCOL, = go=20 through the authentication steps and work perfectly. I've=20 attached a log showing the client/server=20 conversation.
 
OlegK suggested that I should activate = the=20 expect-continue handshake on the HttpClient, which might fix my = problems, but=20 I'm afraid I cannot figure out for the life of me how to do so. I should = mention=20 that I'm working with HttpClient through Slide, and as such, I'm not = interfacing=20 with HttpClient directly. (Which is to say, the Slide library is = creating=20 PutMethod instances, not me.)
 
--Matthew = Beermann
------=_NextPart_001_0022_01C48154.E9E17780-- ------=_NextPart_000_0021_01C48154.E9E17780 Content-Type: text/plain; name="put.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="put.txt" 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=3D= =0A= 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 = TlRMTVNTUAACAAAACAAIADgAAAAGAoEC6C86sKfhfQcAAAAAAAAAAKIAogBAAAAABQCTCAAAA= A9FWENIQU5HRQIAEABFAFgAQwBIAEEATgBHAEUAAQAQAE4AQQBOAE8AUwBSAFYAMQAEAC4AZQ= B4AGMAaABhAG4AZwBlAC4AbgBhAG4AbwBuAGEAdABpAG8AbgAuAG4AZQB0AAMAQABuAGEAbgB= vAHMAcgB2ADEALgBlAHgAYwBoAGEAbgBnAGUALgBuAGEAbgBvAG4AYQB0AGkAbwBuAC4AbgBl= AHQAAAAAAA=3D=3D Content-Type: text/html Content-Length: 87 ErrorThe parameter is incorrect. = =0A= ------=_NextPart_000_0021_01C48154.E9E17780 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org ------=_NextPart_000_0021_01C48154.E9E17780--