hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Becke <be...@u.washington.edu>
Subject Re: Status Code 302 Found
Date Wed, 10 Mar 2004 03:23:40 GMT
Hi Fong Tze,

2.0 alpha3 had some serious issues, especially related to 100-continue  
handling.  The final release of 2.0 is out and as such it is the only  
supported version of HttpClient 2.0.  I highly recommend upgrading.

Mike

On Mar 9, 2004, at 8:09 PM, Khong Fong Tze wrote:

> I have a web app which uses HttpClient to communicate with a third  
> party server under HTTPS protocol.  It is running fine in JRUN which  
> uses JDK 1.3.1.  The status code returned from the 3rd party host is  
> 100.
>
>
> I try to run the same web app in IBM JDK 1.31 SR6 or Sun JDK 1.41 or  
> IBM JDK 1.41:-
>
> statusCode = client.executeMethod(method)  always returns me status  
> code 302 Found.
>
> The "Location" response header reads as this:-
> "Location:  
> https://xxx.xxx.xxx/? 
> err_code=0&err_desc=No+Error2C+refer+to+status+code+for+detail&merchant 
> _id=........"
>
>
> Both environments are using the same version of HttpClient  
> (2.0-alpha3-dev).
>
> I wonder why the same web app would give different status code.  What  
> could be the causes?
>
> Pls help! Thanks!
>
>
> Regards,
> Fong Tze
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:  
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:  
> commons-httpclient-dev-help@jakarta.apache.org
>


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


Mime
View raw message