django/tests
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
..
modeltests When using assertRedirect(), allow the caller to specify relative URLs and 2007-11-11 03:54:21 +00:00
regressiontests 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
templates Fixed #5506 -- Added some basic tests for date-based generic views. Thanks to robh for the original patch. 2007-09-19 13:26:56 +00:00
runtests.py Modified the test harness to respect the LANGUAGE_CODE setting. Also changed 2007-10-21 17:26:32 +00:00
urls.py Fixed #5496 -- Added test cases for some of the built-in Django views. Thanks to Manuel Saelices <msaelices@yaco.es> for the original patch. 2007-09-17 14:48:33 +00:00