I just committed some improved documentation and a new S.getRequestHeaders
method.

Derek

On Tue, Jul 21, 2009 at 11:00 AM, DFectuoso <santiago1...@gmail.com> wrote:

>
> +1 too
>
> Yea, and after i get this thing working i can add some stuff to the
> wiki on how to work with the browser's maker/version, etc.
>
> On Jul 21, 9:09 am, "marius d." <marius.dan...@gmail.com> wrote:
> > +1 !
> >
> > On Jul 21, 6:05 pm, Derek Chen-Becker <dchenbec...@gmail.com> wrote:
> >
> > > S.getHeader is for retrieving headers that are set in the *response*,
> not
> > > the request. I can update the docs to make that more clear, although it
> > > seems like this is confusing. Perhaps we should make a getRequestHeader
> > > method. Thoughts?
> >
> > > Derek
> >
> > > On Mon, Jul 20, 2009 at 7:49 PM, DFectuoso <santiago1...@gmail.com>
> wrote:
> >
> > > > for some reason S.getHeader("User-Agent") returns empty, but the
> > > > second one(using the so useful for) did the trick, thanks!
> >
> > > > On Jul 20, 4:34 pm, David Pollak <feeder.of.the.be...@gmail.com>
> > > > wrote:
> > > > > How about S.getHeader("User-Agent")?
> >
> > > > > Or for {r <- S.request; ua <- r.userAgent} yield ua?
> >
> > > > > On Mon, Jul 20, 2009 at 4:20 PM, DFectuoso <santiago1...@gmail.com
> >
> > > > wrote:
> >
> > > > > > Im trying to get information about the browser the user is using
> and
> > > > > > wanted to get some working snippets around S.getHeaders.
> >
> > > > > > Can't get it to work ( S.getHeaders(List(("User-Agent","")))
> returns
> > > > > > ("User-Agent", )). I guess I'm not calling it right.
> >
> > > > > --
> > > > > Lift, the simply functional web frameworkhttp://liftweb.net
> > > > > Beginning Scalahttp://www.apress.com/book/view/1430219890
> > > > > Follow me:http://twitter.com/dpp
> > > > > Git some:http://github.com/dpp
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to