#2504: ConditionalGetMiddleware causes Content-Length to be 0 on HttpResponse
with
fileobject
---------------------------------+------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: frasern
Status: assigned | Component: Core framework
Version: SVN | Resolution:
Keywords: | Stage: Accepted
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
---------------------------------+------------------------------------------
Comment (by arne):
as a side note and as reply @ 09/27/06 06:57:46 changed by mtredinnick:
Both, RFC 1945 HTTP/1.0 and RFC 2626 HTTP/1.1, state that an absent
Content-Length Header is allowed. If the header is missing and no special
Transfer-Encoding (e.g. chunked) is set, closing the connection on the
server side determines the end of the response content.
In RFC 1945 this is stated in part 7.2.2 and 10.4,
In RFC 2616 this ist stated in part 4.4 method 5
--
Ticket URL: <http://code.djangoproject.com/ticket/2504#comment:10>
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
-~----------~----~----~----~------~----~------~--~---