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 14:55:32 -0500
Message-ID: <01BBE12A.4EBCE960@shiva2.landmark.com>
To: "'Thanh Nguyen'" <thnguyen@Adobe.COM>
Cc: "'www-lib@w3.org'" <www-lib@w3.org>
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 14:58:11 GMT

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