W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1996

RE: <Question> User-Agent

From: Steve Barnes <devspb@landmark.com>
Date: Tue, 3 Dec 1996 16:46:29 -0500
Message-ID: <01BBE139.8A46C5A0@shiva2.landmark.com>
To: "'Thanh Nguyen'" <thnguyen@Adobe.COM>
Cc: "'www-lib@w3.org'" <www-lib@w3.org>
Thanh,
Refer to the following doc for a more complete discussion.. Tip search the doc for user-agent..

http://www.w3.org/pub/WWW/Protocols/HTTP/1.1/draft-ietf-http-v11-spec-07.txt

This is the http spec and is good enough to understand the http request header that you must initialize to act like a browser (aka your web bot).. For the actual client name that MS IE or netscape use in this field to fool the the server, I have not yet dumpped a header to check... I'll try to find time soon to do so.. In the meantime..DOES ANYONE KNOW OFFHAND WHAT HE MUST USE FOR EITHER MSIE OR NAVIGATOR?????
----------
From: 	Thanh Nguyen[SMTP:thnguyen@Adobe.COM]
Sent: 	Tuesday, December 03, 1996 7:18 AM
To: 	Steve Barnes
Subject: 	RE: <Question>  User-Agent

Thank you for your help.  My next question is how do I "fake" as a browser
?  What do I need to put in my header so that the web site can't tell.

I have tried many cases already.  I tried "IE 3.0", "Internet Explore 3.0"
and "Netscape 3.0" but I haven't hit the "jackpot" yet.  Any hint from you?

Once again, thank you for your help.  I am looking forward to your reply.

Thanh Nguyen.
(206)470-7290
thnguyen@adobe.com


>Thanh,
>Unfortunately, many web developers recognize the fact that both MS and
>Netscape for example deal with HTML tags differently. For this reason,
>many web sites are developed to first check on the browser accessing the
>site and build output HTML according to browser's capabilities..
>
>I know this is a problem for what you are doing, but thuis is the real world.
>
>If you are persistent to crack the problem and are only interested in
>getting consistent data, you can fool the web site into thinking that you
>are a broswer of a particular type.. You do this in the http header that
>you send the server..
>
>Hope this helps.
>Steve Barnes :{)
>
>----------
>From:   Thanh Nguyen[SMTP:thnguyen@Adobe.COM]
>Sent:   Monday, December 02, 1996 8:57 AM
>To:     www-lib@w3.org
>Subject:        <Question>  User-Agent
>
>Hi,
>
>I have an app that can download contents from the web.  I've noticed that
>for some sites, I recieve different HTML source files as it would in
>Netscape or Internet Explore.
>
>My guess is that somehow the server which I request the contents from sends
>different file to its clients depending on the name of the User-Agent.
>
>I wonder if this is true.  If this is the case, what the User-Agent should
>I use to recieve the same HTML file as in Netscape or Internet Explore.
>
>Any feed back is greatly appreciated.  Thanks.
>
>Thanh Nguyen
>(206)470-7290
>thnguyen@adobe.com
Received on Tuesday, 3 December 1996 16:47:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:27 GMT