Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 71373 invoked from network); 25 Jan 2011 00:51:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Jan 2011 00:51:19 -0000 Received: (qmail 86443 invoked by uid 500); 25 Jan 2011 00:51:19 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 86408 invoked by uid 500); 25 Jan 2011 00:51:19 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 86395 invoked by uid 99); 25 Jan 2011 00:51:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 00:51:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 00:51:18 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0P0ovXI025218 for ; Tue, 25 Jan 2011 00:50:58 GMT Message-ID: <28751858.176071295916657772.JavaMail.jira@thor> Date: Mon, 24 Jan 2011 19:50:57 -0500 (EST) From: "Ted Troccola (JIRA)" To: dev@hc.apache.org Subject: [jira] Commented: (HTTPCLIENT-1045) HttpGet request not being created when parameter "url" is present In-Reply-To: <21687026.62081295454284543.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986150#action_12986150 ] Ted Troccola commented on HTTPCLIENT-1045: ------------------------------------------ Where can I download the version you mentioned? Thanks, Ted > HttpGet request not being created when parameter "url" is present > ----------------------------------------------------------------- > > Key: HTTPCLIENT-1045 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1045 > Project: HttpComponents HttpClient > Issue Type: Bug > Affects Versions: 4.1 Beta1 > Environment: java 1.6.0.21 > Window 7 - 64 bit > Reporter: Ted Troccola > Fix For: 4.1.0 > > > /* > * @formatter:off > * > * The following redirect Location results in a Bad Request (404) being made. > * > * http://www.qpassport.co.uk/passport/register.php?do=signup&who=adult&url=http%3A%2F%2Fwww.qpassport.co.uk%2Fpassport%2F&month=2&year=1947&day=26 > * > * The GET request is made with these headers (Notice the "Host" value): > * > * DEBUG org.apache.http.wire - >> "GET http://www.qpassport.co.uk/passport/register.php?do=signup&who=adult&url=http%3A%2F%2Fwww.qpassport.co.uk%2Fpassport%2F&month=2&year=1947&day=26 HTTP/1.1[\r][\n]" > * DEBUG org.apache.http.wire - >> "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*//*;q=0.8[\r][\n]" > * DEBUG org.apache.http.wire - >> "Accept-Language: en-us,en;q=0.5[\r][\n]" > * DEBUG org.apache.http.wire - >> "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7[\r][\n]" > * DEBUG org.apache.http.wire - >> "Proxy-Connection: Keep-Alive[\r][\n]" > * DEBUG org.apache.http.wire - >> "Referer: http://www.qpassport.co.uk/passport/register.php?s=b9761dfa820bb55722e3feb6438fa11f&[\r][\n]" > * DEBUG org.apache.http.wire - >> "Host: www.qpassport.co.uk/passport/register.php?do=signup&who=adult&url=http[\r][\n]" > * DEBUG org.apache.http.wire - >> "User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)[\r][\n]" > * > * They should be: (Notice the "Host" value) > * DEBUG org.apache.http.wire - >> "GET http://www.qpassport.co.uk/passport/register.php?do=signup&who=adult&month=2&year=1947&day=26 HTTP/1.1[\r][\n]" > * DEBUG org.apache.http.headers - >> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*//*;q=0.8 > * DEBUG org.apache.http.headers - >> Accept-Language: en-us,en;q=0.5 > * DEBUG org.apache.http.headers - >> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 > * DEBUG org.apache.http.headers - >> Proxy-Connection: Keep-Alive > * DEBUG org.apache.http.headers - >> Referer: http://www.qpassport.co.uk/passport/register.php?s=005ef80064a0fb2f5aa6f4677a194928& > * DEBUG org.apache.http.headers - >> Content-Length: 134 > * DEBUG org.apache.http.headers - >> Content-Type: application/x-www-form-urlencoded; charset=UTF-8 > * DEBUG org.apache.http.headers - >> Host: www.qpassport.co.uk > * DEBUG org.apache.http.headers - >> User-Agent: Opera/9.20 (Windows NT 6.0; U; en) > * > * The problem appears to be related to the URL parameter in the request > * when it is removed, the request succeeds. > * > * @formatter:on > */ -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org