To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.org.ldrawOpen lugnet.cad.dev.org.ldraw in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Organizations / LDraw / 1443
1442  |  1444
Subject: 
Re: Unofficial Parts Update
Newsgroups: 
lugnet.cad.dev.org.ldraw
Date: 
Fri, 22 Jun 2001 09:00:32 GMT
Viewed: 
549 times
  
"Jacob Sparre Andersen" <sparre@nbi.dk> wrote in message
news:Pine.OSF.4.21.0106220058400.22527-100000@alf.nbi.dk...
Yes. Or to be exact: If you ask for

   http://www.ldraw.org/<something>.html

it will redirect you to

   http://www.ldraw.org/<something>

(which in general will identify the same document)

But this breaks handling of HTML for browsers that only rely on the
extension or the content-type header (Netscape being the biggest one!).
Maybe adding a META HTTP-EQUIV tag to each HTML page with the Content-Type
set to text/html would cure this, but surely it's better to rely on the HTTP
headers (after all, that's what they're there for) to tell the browser what
to do? In this example NS appears to be the only browser working correctly -
it doesn't treat the page as HTML because the content-type indicates it's
plain text and therefore should not be handled as HTML.

Dan



Message has 1 Reply:
  Re: Unofficial Parts Update
 
Daniel: (...) Since the "Content-Type" field in the HTTP header is set correctly, it is only defect browsers, which use extensions to determine file types, that will get in trouble. (...) That was because the files on the server were marked as not (...) (23 years ago, 22-Jun-01, to lugnet.cad.dev.org.ldraw)

Message is in Reply To:
  Re: Unofficial Parts Update
 
Steve: (...) Yes. Or to be exact: If you ask for (URL).html it will redirect you to (URL) (which in general will identify the same document) (...) Yes (as far as I remember your message). Jacob (23 years ago, 21-Jun-01, to lugnet.cad.dev.org.ldraw)

20 Messages in This Thread:






Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR