On Mon, Nov 23, 2009 at 12:22 PM, harryh <[email protected]> wrote:

> That will skip the DOCTYPE though right?
> I'm looking to avoid sending the XML header (<?xml version="1.0"
> encoding="UTF-8"?>)
>

It will eliminate both the doctype and the <?xml ... ?> thing.

If you just need to the XML header removed, please open a ticket and we'll
add a LiftRule for it.


>
> -harryh
>
> On Nov 23, 3:03 pm, David Pollak <[email protected]>
> wrote:
> > If you set S.skipDocType = false during the processing of the request for
> > these devices, the <? ... ?> stuff will be omitted.
> >
> >
> >
> > On Mon, Nov 23, 2009 at 11:49 AM, harryh <[email protected]> wrote:
> > > I want to send a subset (based on the path) of my pages without an <?
> > > xml? header.  Is there an easy way to do this?
> >
> > > I want to do this for pages meant for consumption by mobile devices
> > > (many of which, it seems, have crappy web browsers that are getting
> > > confused by this header).
> >
> > > -harryh
> >
> > > --
> >
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Lift" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<liftweb%[email protected]>
> <liftweb%[email protected]<liftweb%[email protected]>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/liftweb?hl=.
> >
> > --
> > Lift, the simply functional web frameworkhttp://liftweb.net
> > Beginning Scalahttp://www.apress.com/book/view/1430219890
> > Follow me:http://twitter.com/dpp
> > Surf the harmonics
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<liftweb%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=.
>
>
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=.


Reply via email to