Hi everyone,
I'm using Django 1.1 with jQuery 1.4.2 and currently testing with the
Django development server. Whenever I send an AJAX request with
$.get(), the HTTP_X_REQUESTED_WITH header only gets sent with Chrome
and Safari. It does not get sent with IE or Firefox. I've verified
this by outputting the request.META keys to a text file for each one.
Needless to say, my AJAX only works correctly with Chrome and Safari.
Also, I'm using request.is_ajax() on the Django side.

Does anyone know why this might be occurring? Could it be because I'm
testing using the Django development server? It seems to me like this
might be a jQuery issue, but after doing many online searches, I
haven't seen anyone else run into this problem. Every documentation
says that jQuery sends HTTP_X_REQUESTED WITH.

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to