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 / 1444
1443  |  1445
Subject: 
Re: Unofficial Parts Update
Newsgroups: 
lugnet.cad.dev.org.ldraw
Date: 
Fri, 22 Jun 2001 09:25:11 GMT
Viewed: 
385 times
  
Daniel:

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

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.

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.

That was because the files on the server were marked as not
being HTML (despite what Steve believed he had done ;-).

Jacob
--
"Borg!"



Message has 2 Replies:
  Re: Unofficial Parts Update
 
"Jacob Sparre Andersen" <sparre@nbi.dk> wrote in message news:Pine.OSF.4.21.0....nbi.dk... (...) Ah, I see it's working now. I didn't check it after Chris had mentioned that it was now working. Dan (23 years ago, 22-Jun-01, to lugnet.cad.dev.org.ldraw)
  Re: Unofficial Parts Update
 
(...) OK, fine. So how do I mark the files as HTML, besides giving them an .html extension (which I've now done)? Steve (23 years ago, 22-Jun-01, to lugnet.cad.dev.org.ldraw)

Message is in Reply To:
  Re: Unofficial Parts Update
 
"Jacob Sparre Andersen" <sparre@nbi.dk> wrote in message news:Pine.OSF.4.21.0....nbi.dk... (...) 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 (...) (23 years ago, 22-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