----- 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

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
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to