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 framework http://liftweb.net
Beginning Scala http://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to