Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 1503 invoked from network); 12 Feb 2005 12:36:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 Feb 2005 12:36:19 -0000 Received: (qmail 70402 invoked by uid 500); 12 Feb 2005 12:36:19 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 70382 invoked by uid 500); 12 Feb 2005 12:36:19 -0000 Mailing-List: contact httpclient-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: "HttpClient User Discussion" Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-user@jakarta.apache.org Received: (qmail 70366 invoked by uid 99); 12 Feb 2005 12:36:18 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of rsouissi.c@stc.com.sa designates 212.118.128.74 as permitted sender) Received: from stcimss2.stc.com.sa (HELO STCIMSS2.stc.com.sa) (212.118.128.74) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 12 Feb 2005 04:36:17 -0800 Received: from ednwebmail01.stc.corp ([212.118.128.84]) by STCIMSS2.stc.com.sa with InterScan Messaging Security Suite; Sat, 12 Feb 2005 15:34:21 +0300 Received: from ednriymsg01.stc.corp ([10.32.2.64]) by ednwebmail01.stc.corp with Microsoft SMTPSVC(5.0.2195.6713); Sat, 12 Feb 2005 15:35:07 +0300 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Problems using the HTTPClient through a proxy X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Date: Sat, 12 Feb 2005 15:35:03 +0300 Message-ID: <640C7CC024362341A9358AD20CFED918F157B6@EDNRIYMSG01.stc.corp> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problems using the HTTPClient through a proxy Thread-Index: AcT8nlCAIoa5kvVXSOeST905ACvSgAAADRcABReHN/A= From: "Riad Souissi" To: "HttpClient User Discussion" X-OriginalArrivalTime: 12 Feb 2005 12:35:07.0867 (UTC) FILETIME=[4913DAB0:01C510FF] X-imss-version: 2.022 X-imss-result: Passed X-imss-scores: Clean:99.90000 C:2 M:6 S:5 R:5 X-imss-settings: Baseline:1 C:1 M:1 S:1 R:1 (0.0000 0.0000) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi all, I am using HTTPClient 3.0-rc1. I am connecting to an HTTPS site through a proxy. 1) I used HTTPLook to see the HTTP messages between the Proxy and the HTTPClient. I noticed that it always used HTTP/1.1 and I could not find how to get the HTTPClient to use HTTP/1.0 with the proxy instead. The setVersion() method, when used, only impacts the tunneled HTTP protocol between the HTTPClient and the target host. =3D> Do you know how I can force the client to use HTTP/1.0 with the proxy ? 2) I also that the HTTPClient does not specify the Content-Length in the HTTP header with the Proxy. This seems to cause the Proxy to reject the connection from the HTTPClient. When I use the Internet Explorer, I can see that Content-Length is specified (value is 0). =3D> Do you know how I can force the client to specify this header with the proxy ? Thanks in advance, riad DiscalimerThe information in this email and in any files transmitted with= it, is intended only for the addressee and may contain confidential and/or= privileged material. Access to this email by anyone else is unauthorized. If you receive this in= error, please contact the sender immediately and delete the material from any= computer. If you are not the intended recipient, any disclosure, copying,= distribution or any action taken or omitted to be taken in reliance on it, is strictly= prohibited. Statement and opinions expressed in this e-mail are those of the sender,= and do not necessarily reflect those of STC. --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org