[web-devel] Getting the http request header in Yesod?

Rehno Lindeque errantkid at gmail.com
Sat Sep 25 10:32:26 CEST 2010

I'm looking to detect ajax requests sent to my yesod application using
the technique detailed in http://davidwalsh.name/detect-ajax

Is it possible to gain access to the request header directly or would
yesod require modification to get at it? If someone could just point
me in the right direction, I would be grateful. I imagine it would be
a function returning GHandler?


More information about the web-devel mailing list