hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Hehl <t...@nowhereatall.com>
Subject Re: 400 Bad Request
Date Sun, 02 Oct 2005 19:11:20 GMT
Aha! Query string then must be null?

--- Oleg Kalnichevski <olegk@apache.org> wrote:

From: Oleg Kalnichevski <olegk@apache.org>
Date: Sun, 02 Oct 2005 20:10:22 +0200
To: httpclient-user@jakarta.apache.org
Subject: Re: 400 Bad Request

On Sun, 2005-10-02 at 08:31 -0700, Thomas Hehl wrote:

> So, I guess, I'm trying to figure out what the next step is. Anyone know how to make
httpclient not stick a ? at the end of a GET? Anyone have any other ideas?
> 

HttpClient does not append a question mark to urls out of the blue. I
suspect this is what your code passes to the GetMethod constructor as a
parameter or somewhere in your code the query string of the GetMethod
instance is set to ""

Oleg

> Thanks!
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message