django1/django
Malcolm Tredinnick 3ee3d6b5f3 Fixed #5898 -- Changed a few response processing paths to make things harder to get wrong and easier to get right. Previous behaviour wasn't buggy, but it was harder to use than necessary.
We now have automatic HEAD processing always (previously required ConditionalGetMiddleware), middleware benefits from the Location header rewrite, so they can use relative URLs as well, and responses with response codes 1xx, 204 or 304 will always have their content removed, in accordance with the HTTP spec (so it's much harder to indavertently deliver invalid responses).

Based on a patch and diagnosis from regexbot@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-11 03:55:44 +00:00
..
bin Fixed #3955 -- Handled the case when there is no LOCALE_PATHS setting from [6349]. Thanks, Wang Chun and semenov. 2007-10-03 03:19:14 +00:00
conf Fixed #5799 -- Apparently it's not enough to have all the right letters in a 2007-10-27 04:26:44 +00:00
contrib Fixed bug in /admin/doc/views/ caused by [6658] 2007-11-09 15:27:49 +00:00
core Fixed #5898 -- Changed a few response processing paths to make things harder to get wrong and easier to get right. Previous behaviour wasn't buggy, but it was harder to use than necessary. 2007-11-11 03:55:44 +00:00
db Added the small changes necessary to make creating custom model fields easier. 2007-11-05 13:59:42 +00:00
dispatch Fixed #5664 -- Added a Jython workaround for some assumptions in the signal 2007-10-21 18:26:24 +00:00
forms Changed django.forms to remove duplicate code and import from django.oldforms instead 2006-12-22 01:44:34 +00:00
http Fixed #5898 -- Changed a few response processing paths to make things harder to get wrong and easier to get right. Previous behaviour wasn't buggy, but it was harder to use than necessary. 2007-11-11 03:55:44 +00:00
middleware Fixed #5898 -- Changed a few response processing paths to make things harder to get wrong and easier to get right. Previous behaviour wasn't buggy, but it was harder to use than necessary. 2007-11-11 03:55:44 +00:00
newforms For readability, use _() as an alias to mark translatable strings. 2007-11-04 02:08:02 +00:00
oldforms Fixed a Python 2.3 Unicode + oldforms problem. Refs #5287. 2007-10-04 01:54:58 +00:00
shortcuts Fixed #5483 -- Removed django.shortcuts.load_and_render, which was replaced a long time ago 2007-09-15 04:52:48 +00:00
template `floatformat` template filter docstring changes: 2007-11-04 02:27:17 +00:00
templatetags Removed a bunch of DOS line endings. Somehow I didn't convert this correctly in 2007-10-23 13:12:04 +00:00
test Fixed #5898 -- Changed a few response processing paths to make things harder to get wrong and easier to get right. Previous behaviour wasn't buggy, but it was harder to use than necessary. 2007-11-11 03:55:44 +00:00
utils Fixed #5640 -- Added some extra error reporting when smart_unicode() or 2007-11-04 03:37:04 +00:00
views Fixed #5816 -- Fixed a regression from [6333] that generates incorrect cookie "expires" dates when using a locale other than English. Introduced `http_date` and `cookie_date` utility functions. Thanks for the report Michael Lemaire. Thanks for the patch Karen Tracey and `SmileyChris`. 2007-10-31 03:59:40 +00:00
__init__.py Fixed #5215 -- Added Subversion revision number to Django version string. Thanks for the patch, Deryck Hodge 2007-08-21 03:08:02 +00:00