+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." <[email protected]> wrote: > +1 ! > > On Jul 21, 6:05 pm, Derek Chen-Becker <[email protected]> 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 <[email protected]> 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 <[email protected]> > > > 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 <[email protected]> > > > 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 [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=en -~----------~----~----~----~------~----~------~--~---
