Re: Html download challenge



"Paul Battersby" <batman42ca@xxxxxxxx> writes:
> Here is some sample code. You will see me loading from 2 urls. The
> first one works. The second (the one I care about) does not even
> though my browser (Internet Explorer) has no trouble with the url.

I ran this against the RequestHeaderExample servlet provided with
Tomcat and got the following:

user-agent Java/1.5.0_02
host localhost:8080
accept text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
connection keep-alive
content-type application/x-www-form-urlencoded

Evidently the Java classes you're using are setting these defaults
and, as noted in other replies, Google doesn't like the user agent.

Regards,

Patrick

------------------------------------------------------------------------
S P Engineering, Inc. | The experts in large scale distributed OO
| systems design and implementation.
pjm@xxxxxxx | (C++, Java, Common Lisp, Jini, CORBA, UML)
.



Relevant Pages

  • Re: Jews sticking with Democrats, abandoning Republicans
    ... That's usually asking for trouble. ... Internet Explorer is a common target. ... browser like Opera, or maybe mozilla firefix, then you're quite safe. ...
    (soc.culture.jewish.moderated)
  • Re: Global Warming Fundamentalists...
    ... everybody about global warming. ... But I'm sure you wouldn't know or care about any of that. ... "We believe Internet Explorer is a really good browser. ...
    (comp.sys.mac.advocacy)
  • Re: Global Warming Fundamentalists...
    ... everybody about global warming. ... But I'm sure you wouldn't know or care about any of that. ... "We believe Internet Explorer is a really good browser. ...
    (comp.sys.mac.advocacy)
  • Re: I cant access my favorite website
    ... brisenol wrote: ... no one else is having trouble getting on the site. ... through internet explorer and the browser won't even look for the web ...
    (microsoft.public.security)
  • Perfect Nav
    ... I was wondering if anyone else is having trouble with ... internet explorer. ... MY browser is always getting hijacked ... I am fairly computer savvy and ...
    (microsoft.public.windows.inetexplorer.ie6.browser)