summaryrefslogtreecommitdiff
path: root/django/views/decorators/http.py
AgeCommit message (Expand)Author
2026-01-31Refs #34118 -- Removed asgiref coroutine detection shims.Jacob Walls
2025-07-23Removed double spaces after periods and within phrases.Sarah Boyce
2025-02-18Refs #36005 -- Used datetime.UTC alias instead of datetime.timezone.utc.Mariusz Felisiak
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
2023-06-26Refs #31949 -- Made http decorators to work with async functions.th3nn3ss
2023-05-26Optimized @condition decorator a bit.Mariusz Felisiak
2022-03-24Refs #32365 -- Removed internal uses of utils.timezone.utc alias.Carlton Gibson
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-05-12Fixed #32366 -- Updated datetime module usage to recommended approach.Nick Pope
2020-09-14Fixed #31789 -- Added a new headers interface to HttpResponse.Tom Carrick
2018-05-04Fixed #26688 -- Fixed HTTP request logging inconsistencies.Samir Shah
2017-11-14Fixed #28795 -- Removed 'not in' checks and used dict.setdefault().Дилян Палаузов
2017-06-06Fixed #28104 -- Prevented condition decorator from setting ETag/Last-Modified...Josh Schneier
2017-01-21Refs #23919 -- Removed django.utils.decorators.available_attrs() usage.Tim Graham
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-09-10Fixed #27083 -- Added support for weak ETags.Kevin Christopher Henry
2016-09-09Normalized spelling of ETag.Tim Graham
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2015-12-31Removed British/Austrialian word: whilist.Tim Graham
2015-08-15Fixed #24935 -- Refactored common conditional GET handling.Denis Cornehl
2015-05-25Fixed typos in HTTP decorator docs.I am Clinton
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-12-24Fixed #22461 -- Added if-unmodified-since support to the condition decorator.Thomas Tanner
2014-10-21Fixed #23695 -- Made condition decorator work for HEAD requests without ETag.Anton Novosyolov
2013-11-02Correct flake8 E302 violationsRay Ashman Jr
2013-10-10Whitespace cleanup.Tim Graham
2012-09-20Imported getLogger directly from logging moduleClaude Paroz
2012-02-09Fixed #17358 -- Updated logging calls to use official syntax for arguments in...Jannis Leidel
2012-02-09Fixed #15840 -- Wrapped inner function of the condition decorator with functo...Jannis Leidel
2011-07-13Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for t...Jannis Leidel
2011-05-01Replaced old-style with new-style decorator syntax.Jannis Leidel
2011-04-28Fixed #15637 -- Added a require_safe decorator for views to accept GET or HEA...Jannis Leidel
2011-03-28Removed a bunch more Python 2.4 workarounds now that we don't support that ve...Adrian Holovaty
2011-03-01Fixed #717 - If-Modified-Since handling should compare dates according to RFC...Luke Plant
2010-10-06Fixed #14406 -- Added a Python 2.4 compatibility to the logging interface. Th...Russell Keith-Magee
2010-10-04Fixed #12012 -- Added support for logging. Thanks to Vinay Sajip for his draf...Russell Keith-Magee
2010-05-04Fixed #12164 -- Removed the Python 2.3 compatibility imports and workarounds....Russell Keith-Magee
2010-03-12Fixed #13093 -- Updated some decorators and the decorator_from_middleware fun...Russell Keith-Magee
2009-04-03Fixed #10681 -- Work around (by ignoring) invalid ETag headers.Malcolm Tredinnick
2009-03-24A bunch of improvements for conditional HTTP processing.Malcolm Tredinnick
2009-03-22Fixed #10581 -- Fixed conditional handling of If-Match headers.Malcolm Tredinnick
2009-03-22Fixed #5791 -- Added early-bailout support for views (ETags and Last-modified).Malcolm Tredinnick
2008-02-25Fixed #5701 -- Fixed decorators to take the name, attributes, and docstring o...Gary Wilson Jr
2006-06-20Converted request.META['REQUEST_METHOD'] calls to request.method, throughout ...Adrian Holovaty
2006-06-20Fixed #2185 -- Changed django.views.decorators.http.require_http_methods deco...Adrian Holovaty
2006-05-02MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompa...Adrian Holovaty
2005-10-28Fixed #703: added decorators to require that view be called with a given HTTP...Jacob Kaplan-Moss
2005-10-09Fixed #580 -- Added mega support for generating Vary headers, including some ...Adrian Holovaty