#2504: ConditionalGetMiddleware causes Content-Length to be 0 on HttpResponse 
with
fileobject
---------------------------------+------------------------------------------
   Reporter:  [EMAIL PROTECTED]  |                Owner:  poelzi        
     Status:  new                |            Component:  Core framework
    Version:  SVN                |           Resolution:                
   Keywords:                     |                Stage:  Accepted      
  Has_patch:  1                  |           Needs_docs:  0             
Needs_tests:  0                  |   Needs_better_patch:  1             
---------------------------------+------------------------------------------
Changes (by frasern):

  * needs_better_patch:  0 => 1
  * stage:  Ready for checkin => Accepted

Comment:

 If poelzi's new patch is used, then my original [attachment:gzip.diff
 gzip.diff] patch will need to be updated as {{{get_content_length}}} now
 raises {{{UnknownSize}}} rather than returning {{{None}}} if the size
 cannot be determined.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2504#comment:13>
Django Code <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