#13695: Django Comments Loses Ajax Headers When Redirecting (request.is_ajax()
===
True --> request.is_ajax() === False)
------------------------------------+---------------------------------------
Reporter: jacobstr | Owner: nobody
Status: new | Milestone:
Component: Uncategorized | Version: 1.2
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Comment (by anonymous):
Replying to [comment:1 r1cky]:
> There is nothing django can do here. The initial and subsequent (after
redirect) request are coming from the browser/client. The is_ajax method
depends on an HTTP header (HTTP_X_REQUESTED_WITH) that apparently isn't
getting set on the second request.
Yes. My instinct is that this was an oversight and not deliberate.
--
Ticket URL: <http://code.djangoproject.com/ticket/13695#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" 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/django-updates?hl=en.