• Malcolm Tredinnick's avatar
    Fixed #5898 -- Changed a few response processing paths to make things harder to… · 3ee3d6b5
    Malcolm Tredinnick yazdı
    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
    3ee3d6b5
Adı
Son kayıt (commit)
Son güncelleme
..
auth_backends Loading commit data...
backends Loading commit data...
bug639 Loading commit data...
cache Loading commit data...
datastructures Loading commit data...
datatypes Loading commit data...
dateformat Loading commit data...
db_typecasts Loading commit data...
defaultfilters Loading commit data...
dispatch Loading commit data...
fixtures_regress Loading commit data...
forms Loading commit data...
httpwrappers Loading commit data...
humanize Loading commit data...
i18n Loading commit data...
initial_sql_regress Loading commit data...
invalid_admin_options Loading commit data...
many_to_one_regress Loading commit data...
max_lengths Loading commit data...
maxlength Loading commit data...
model_fields Loading commit data...
model_regress Loading commit data...
null_queries Loading commit data...
one_to_one_regress Loading commit data...
serializers_regress Loading commit data...
string_lookup Loading commit data...
templates Loading commit data...
test_client_regress Loading commit data...
text Loading commit data...
urlpatterns_reverse Loading commit data...
utils Loading commit data...
views Loading commit data...
__init__.py Loading commit data...