Re: Html download challenge
- From: Patrick May <pjm@xxxxxxx>
- Date: 30 Jun 2005 21:55:56 +0100
"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)
.
- References:
- Html download challenge
- From: Paul Battersby
- Re: Html download challenge
- From: Andrea Desole
- Re: Html download challenge
- From: Paul Battersby
- Re: Html download challenge
- From: Andrea Desole
- Re: Html download challenge
- From: Paul Battersby
- Html download challenge
- Prev by Date: [announce]Celebrate Independence Day with Stylus Studio
- Next by Date: Re: read a passwort from input
- Previous by thread: Re: Html download challenge
- Next by thread: Re: Html download challenge
- Index(es):
Relevant Pages
|