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
+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
+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
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
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