I have made up a view to check a request is ajax or not, but the
function is_ajax() always return false. I used prototype to fire the
ajax request and I confirmed it with Firebug. The request header
really contains "X-Requested-With" and its value is "XMLHttpRequest".
I tried it many times on different machines (Win XP+Django dev server
and Debian+Apache 2+FastCGI) but the problem remained as the same. I
checked the request.META, but can not find any string like ""X-
Requested-With", so I think that is the real cause.

Does anyone see the same problem as me?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to