hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Why is POST (HttpClient) is acting like this?
Date Wed, 21 Nov 2007 09:13:22 GMT

On Tue, 2007-11-20 at 23:15 -0800, terry_513 wrote:
> 
> Hello, 
> 
>   In my desktop application, using HttpClient 3.1, I am navigating a web
> site. I am trying to retreive the site
> https://edit.yahoo.com/registration?.intl=us&new=1&.done=http, I pass the
> respective parameters and perform a POST. The post requires redirect. So, I
> get the "Location" from the header which points to "http://yahoo.com" and
> get the new location url via GET method.
> 
>    My problem is: the submission if form should be going somehwere else, but
> it is going to the home page. Why so? Where I may be going wrong? The code
> doesn't throw any exception or error. But the page that I receive is not
> expected. Any idea, guidance will be of great help.
> 
> Thanks
> 
> 


This has nothing to do with HttpClient. Yahoo and many other high
profile sites are known to employ various techniques to detect and
prevent automated screen-scraping.

Oleg



---------------------------------------------------------------------
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