#12527: Loss of some HTTP headers
--------------------------------------------+-------------------------------
 Reporter:  tweksteen                       |       Owner:  nobody    
   Status:  new                             |   Milestone:            
Component:  Uncategorized                   |     Version:  1.1       
 Keywords:  X-Requested-With, HTTP headers  |       Stage:  Unreviewed
Has_patch:  0                               |  
--------------------------------------------+-------------------------------
 I've tried to isolate one bug I have on my blog which is that, sometimes,
 Django just drop some HTTP headers.


 I don't really know if it is the Django fault but here is how to reproduce
 the bug:[[BR]]

 - A simple view, which returns the string 'ajax' when the request is an
 ajax one, otherwise, 'not' is returned.[[BR]]

 - A Jquery script that call this views each t milliseconds (the bug
 appears, for both t=100 and t=1000).



 After a quick analyze, I think this is coming from the way Django handle
 the request:[[BR]]

 - According to firebug, the header "X-Requested-With" is correctly filled
 but [[BR]]

 - when I print request.meta in the view, this header has just
 disappears.[[BR]]

 I don't have the knowledge to extract the raw request as soon as Django
 gets it, so I cannot go any further.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12527>
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.


Reply via email to