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

RE: <Question> User-Agent

From: Jay O'Leary <Jay_O'Leary%OSNTG@onesource.com>
Date: 3 Dec 96 19:23:31
Message-Id: <9612040222.AA7970@worldcom-37.worldcom.com>
To: devspb <devspb@landmark.com>
Cc: thnguyen <thnguyen@adobe.com>, www-lib <www-lib@w3.org>

 The user-agent field for Netscape 3.0 is "User-Agent: Mozilla/3.0 (WinNT;1)" - 
quotes are mine.     The info in the parenthesis depends on the client o/s.

Jay O'Leary

	devspb @ landmark.com (Steve Barnes)
12/03/96 05:46 PM
To: thnguyen @ Adobe.COM ("'Thanh Nguyen'") @ internet
cc: www-lib @ w3.org ("'www-lib@w3.org'") @ internet (bcc: Jay O'Leary)
Subject: RE: <Question>  User-Agent

Refer to the following doc for a more complete discussion.. Tip search the doc 
for user-agent..


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

>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
>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
Received on Tuesday, 3 December 1996 21:33:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:47 UTC