[Twisted-Python] Re: Twisted 1.0.4 - `html' .vs. `xhtml'

Christopher Armstrong radix at twistedmatrix.com
Tue Apr 22 17:35:40 EDT 2003


On 2003.04.22 17:29, Brian Warner wrote:
> Andrew Bennetts <andrew-twisted at puzzling.org> writes:
> > 
> > Well, links could be more intelligent here, and it seems other browsers
> > manage to figure this out just fine.  Neither the presence of a <!DOCTYPE
> > ..> declaration or the opening <html> tag seem sufficient for links to
> > realise that it is dealing with actual HTML.  Additionally, I wasn't able to
> > successfully configure my local links to recognise .xhtml as being
> > html/plain content, even though the menus seemed to suggest I could (it
> > happily accepted the entry, but the behaviour was unchanged).
> 
> Forgive my confusion, but why isn't this sort of thing entirely up to the
> server? Shouldn't the client merely obey the Content-Type: header?

The problem they're talking about is when you `links' a *local* file, so no
mime-type information is available.

-- 
 Twisted | Christopher Armstrong: International Man of Twistery
  Radix  |          Release Manager,  Twisted Project
---------+     http://twistedmatrix.com/users/radix.twistd/




More information about the Twisted-Python mailing list