Re: XHTML content type
Guido Brugnara <[email protected]> Sun, 15 Apr 2018 08:12:24 +0200 (CEST)
| Newsgroups | gmane.comp.web.mason.user |
|---|---|
| Message-ID | <[email protected]> |
----- Il 15-apr-18, alle 4:11, sergio [email protected] ha scritto: > Hello. > > Is it possible to server all pages as 'application/xhtml+xml' by default? You can create a file named "autohandler" in the web root like this: % $r->content_type('application/xhtml+xml'); % $m->call_next; Details in: https://masonbook.houseabsolute.com/book/chapter-3.html bye Guido Brugnara > > -- > sergio. > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot