works, thanks for the hint

-------- Original-Nachricht --------
> Datum: Wed, 26 Jan 2011 19:38:27 -0500
> Von: MightyByte <[email protected]>
> An: Kilian Kwaschik <[email protected]>
> CC: [email protected]
> Betreff: Re: [Snap Framework] how to use a content type other than 
> "text/html..."

> modifyResponse $ setContentType "application/xhtml+xml"
> 
> For more information see the docs here:
> 
> http://snapframework.com/docs/latest/snap-core/Snap-Types.html
> 
> On Wed, Jan 26, 2011 at 7:32 PM, Kilian Kwaschik <[email protected]> wrote:
> > Hi,
> >
> > I'm trying to use Heist, to render xhtml pages rather than html pages,
> thus
> > I'd like to set the content type to "application/xhtml+xml", but I don't
> > know how to do that.
> > In the "render" action the content type is hard-coded to "text/html...",
> > therefore I certainly need to use anything else, but what?
> >
> > Any advice would be nice, thank you,
> > Kilian
> >
> > (I'm using snap 0.3.1 and heist 0.4.0.1)
> >
> >
> > --
> > GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit
> > gratis Handy-Flat! http://portal.gmx.net/de/go/dsl
> > _______________________________________________
> > Snap mailing list
> > [email protected]
> > http://mailman-mail5.webfaction.com/listinfo/snap
> >
> >

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap

Reply via email to