On Mon, Jul 5, 2010 at 2:00 PM, Greg Milby <[email protected]> wrote:
> Branko - just saw this ( obj._is_ajax =
> web.ctx.env.get('HTTP_X_REQUESTED_WITH')) how could i use this with my
> example?
web.ctx.env.get('HTTP_X_REQUESTED_WITH')
If this evaluates into any value other than None, it means the header
is set and the request (most likely) was made using JavaScript.
--
Branko Vukelić
[email protected]
[email protected]
Check out my blog: http://www.brankovukelic.com/
Check out my portfolio: http://www.flickr.com/photos/foxbunny/
Registered Linux user #438078 (http://counter.li.org/)
I hang out on identi.ca: http://identi.ca/foxbunny
Gimp Brushmakers Guild
http://bit.ly/gbg-group
--
You received this message because you are subscribed to the Google Groups
"web.py" 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/webpy?hl=en.