HttpClient returns different response compared to browser

2008-05-20 Thread Kwik, Micky
Hi, I wrote a simple client to fetch documents from some websites. But I found that the HttpClient often gets a different response compared to the browser even if the HTTP status code is 200. For example this URL:

Re: HttpClient returns different response compared to browser

2008-05-20 Thread sebb
On 20/05/2008, Kwik, Micky [EMAIL PROTECTED] wrote: Hi, I wrote a simple client to fetch documents from some websites. But I found that the HttpClient often gets a different response compared to the browser even if the HTTP status code is 200. In what way is the response different? For

Re: Basic Authentication Issue

2008-05-20 Thread Ashish Kulkarni
Hi This is the error i am getting 2008-05-20 11:08:33,437 DEBUG [main] params.DefaultHttpParams (DefaultHttpParams.java:151) - Set parameter http.auth.scheme-priority = [Basic] 2008-05-20 11:08:33,437 DEBUG [main] params.DefaultHttpParams (DefaultHttpParams.java:151) - Set parameter

Re: Newbie question port 8080

2008-05-20 Thread Oleg Kalnichevski
On Tue, 2008-05-20 at 14:04 +1200, richard schmidt wrote: Here is the log. message number 114 says it all! 2008/05/20 14:01:32:114 NZST [DEBUG] HttpConnection - Open connection to iceb_test:80 Richard, The problem turned out to be the underscore in the host name, which is basically

Re: Newbie question port 8080

2008-05-20 Thread richard schmidt
Thanks I will try 4.0beta1 BTW do you have a maven POM for it? On 5/21/08, Oleg Kalnichevski [EMAIL PROTECTED] wrote: On Tue, 2008-05-20 at 14:04 +1200, richard schmidt wrote: Here is the log. message number 114 says it all! 2008/05/20 14:01:32:114 NZST [DEBUG] HttpConnection - Open

Re: The http core tutorial

2008-05-20 Thread Oleg Kalnichevski
On Tue, 2008-05-20 at 20:48 +0800, jeffty wrote: Hi, I'm looking for the tutorial of HttpCore in http://hc.apache.org. And only some examples are available. And is there any detailed articles about it? Thanks in advance. This is all we have at the moment

Re: Basic Authentication Issue

2008-05-20 Thread Oleg Kalnichevski
On Tue, 2008-05-20 at 11:12 -0400, Ashish Kulkarni wrote: Hi This is the error i am getting 2008-05-20 11:08:33,437 DEBUG [main] params.DefaultHttpParams (DefaultHttpParams.java:151) - Set parameter http.auth.scheme-priority = [Basic] The client has been configured to accept basic

Re: Newbie question port 8080

2008-05-20 Thread Oleg Kalnichevski
On Wed, 2008-05-21 at 09:29 +1200, richard schmidt wrote: Thanks I will try 4.0beta1 The latest official release is 4.0-alpha4. HttpClient 4.0 is not yet in the BETA phase. BTW do you have a maven POM for it? Yes. Oleg On 5/21/08, Oleg Kalnichevski [EMAIL PROTECTED] wrote: On Tue,