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 > > _______________________________________________ Snap mailing list [email protected] http://mailman-mail5.webfaction.com/listinfo/snap
