Apropos of nothing, but the xhtml media types are basically deprecated now
anyway. You are much better off using a doctype of html and letting the
user agent do the right thing with the content. XHTML documents don't get
special handling in any modern user agents.
On Sun, Apr 15, 2018 at 10:34 AM, Guido Brugnara <[email protected]> wrote:
> ----- Il 15-apr-18, alle 16:29, sergio [email protected] ha scritto:
>
> > On 15/04/18 16:50, Guido Brugnara wrote:
> > .................
> >
> > I'm using mason2 + poet + plack + mod_perl. And as understand the
> > content type is a poet responsibility.
>
> Using file "/Base.mc" you can check if work this example:
>
> % $m->res->content_type('application/xhtml+xml');
> <% inner() %>
>
> I have not verified. I'm sorry.
>
> bye
> gdo
>
> >
> > --
> > 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
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/mason-users
>
> ------------------------------------------------------------
> ------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mason-users
>
--
Shane McCarron
[email protected]
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users