Mailinglist Archives:
Infrared
Panorama
Photo-3D
Tech-3D
Sell-3D
MF3D

Notice
This mailinglist archive is frozen since May 2001, i.e. it will stay online but will not be updated.
<-- Date Index --> <-- Thread Index --> [Author Index]

P3D Http protocol



Brian Reynolds wrote:

Actually that's wrong.  The HTTP (Hyper Text Transfer Protocol)
standard specifies that the client program (in this case the web
browser) receives the file type from the web server.  This is seen as
the Content-type header (with the value text/html for a static web
page, or image/jpeg for a normal JPEG image) in the http stream.  The
web server is supposed to get the file type from the filename
extension and a mapping file (the mime-types file (the name may change
depending on who wrote your server)).  If the client examines the
contents of the file to determine the file's type it is not following
the HTTP standard.

The person creating the webpage can add to the known mime-types by
using the .htaccess file.  This depends on server type and
configuration.  It would not surprise me if many hosting sites turn
off this feature.

Thank you for clarifying http protocol and the chain of command.  My new Web host is Angelfire, my ISP or server is McGill University and my browser is Netscape.  In this case, would both the Web host and the server need to add the mime type using the .htaccess or only the host, Angelfire?
--
Dale Walsh
mailto:dwalsh1@xxxxxxxxxxxxxxxx
http://welcome.to/solidillusions

http://zap.to/thegangesin3d