[tbnl-devel] URL rewrite for XHTML content-types, too
Stefan Scholl
stesch at no-spoon.de
Mon Jul 19 13:02:26 UTC 2004
On 2004-07-19 14:27:51, Edi Weitz wrote:
> On Mon, 19 Jul 2004 11:54:42 +0200, Stefan Scholl <stesch at no-spoon.de> wrote:
> > OK, application/xml and text/xml are a bad choice, because you can't
> > say if it's really a kind of XHTML or just another XML
> > application. You have to parse the content itself for that.
> >
> > But application/xhtml+xml is OK and recommended.
>
> How about this approach?
>
> <http://weitz.de/tbnl/#*content-types-for-url-rewrite*>
Nice. That's perfect.
Heaven knows if the W3C invents new content types for HTML. But I
could add "text/plain" for debugging purposes.
Regards,
Stefan (aka stesch @ #lisp, FreeNode)
More information about the Tbnl-devel
mailing list