----- Il 15-apr-18, alle 4:11, sergio ser...@outerface.net 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

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
Mason-users mailing list

Reply via email to