Re: XHTML content type

Shane McCarron <[email protected]> Sun, 15 Apr 2018 13:29:35 -0500
Newsgroups gmane.comp.web.mason.user
Message-ID <CACCbJAYMu8ZDMGWDD802EVy6fQrZGWXvo_VBZyTrr7QKqoqNyA@mail.gmail.com>
--===============4810092811290913371==
Content-Type: multipart/alternative; boundary="000000000000bf49540569e74ac4"

--000000000000bf49540569e74ac4
Content-Type: text/plain; charset="UTF-8"

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]

--000000000000bf49540569e74ac4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Apropos of nothing, but the xhtml media types are basicall=
y deprecated now anyway.=C2=A0 =C2=A0You are much better off using a doctyp=
e of html=C2=A0and letting the user agent do the right thing with the conte=
nt.=C2=A0 XHTML documents don&#39;t get special handling in any modern user=
 agents.=C2=A0=C2=A0<div><br></div><div><br></div></div><div class=3D"gmail=
_extra"><br><div class=3D"gmail_quote">On Sun, Apr 15, 2018 at 10:34 AM, Gu=
ido Brugnara <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex">----- Il 15-apr-18, alle 16:29, sergio <a href=3D"mailto:sergio@oute=
rface.net">[email protected]</a> ha scritto:<br>
<span class=3D""><br>
&gt; On 15/04/18 16:50, Guido Brugnara wrote:<br>
</span>&gt; .................<br>
<span class=3D"">&gt; <br>
&gt; I&#39;m using mason2 + poet + plack + mod_perl. And as understand the<=
br>
&gt; content type is a poet responsibility.<br>
<br>
</span>Using file &quot;/Base.mc&quot; you can check if work this example:<=
br>
<br>
% $m-&gt;res-&gt;content_type(&#39;<wbr>application/xhtml+xml&#39;);<br>
&lt;% inner() %&gt;<br>
<br>
I have not verified. I&#39;m sorry.<br>
<br>
bye<br>
gdo<br>
<div class=3D"HOEnZb"><div class=3D"h5">=C2=A0<br>
&gt; <br>
&gt; --<br>
&gt; sergio.<br>
&gt; <br>
&gt; ------------------------------<wbr>------------------------------<wbr>=
------------------<br>
&gt; Check out the vibrant tech community on one of the world&#39;s most<br=
>
&gt; engaging tech sites, Slashdot.org! <a href=3D"http://sdm.link/slashdot=
" rel=3D"noreferrer" target=3D"_blank">http://sdm.link/slashdot</a><br>
&gt; ______________________________<wbr>_________________<br>
&gt; Mason-users mailing list<br>
&gt; <a href=3D"mailto:[email protected]">Mason-users@lists=
.sourceforge.<wbr>net</a><br>
&gt; <a href=3D"https://lists.sourceforge.net/lists/listinfo/mason-users" r=
el=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/<wbr>list=
s/listinfo/mason-users</a><br>
<br>
------------------------------<wbr>------------------------------<wbr>-----=
-------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href=3D"http://sdm.link/slashdot" rel=
=3D"noreferrer" target=3D"_blank">http://sdm.link/slashdot</a><br>
______________________________<wbr>_________________<br>
Mason-users mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]=
ceforge.<wbr>net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/mason-users" rel=3D=
"noreferrer" target=3D"_blank">https://lists.sourceforge.net/<wbr>lists/lis=
tinfo/mason-users</a><br>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>=
<div class=3D"gmail_signature" data-smartmail=3D"gmail_signature">Shane McC=
arron<br><a href=3D"mailto:[email protected]" target=3D"_blank">halindro=
[email protected]</a></div>
</div>

--000000000000bf49540569e74ac4--


--===============4810092811290913371==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--===============4810092811290913371==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

--===============4810092811290913371==--