mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
Fixed #6181 - Document django.views.decorators.http
- thanks adamv for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
c00c377e54
commit
ee5fb7d18c
5 changed files with 79 additions and 1 deletions
|
@ -98,6 +98,9 @@ compress content bodies less than 200 bytes long, when the response code is
|
|||
something other than 200, JavaScript files (for IE compatibility), or
|
||||
responses that have the ``Content-Encoding`` header already specified.
|
||||
|
||||
GZip compression can be applied to individual views using the
|
||||
:func:`~django.views.decorators.http.gzip_page()` decorator.
|
||||
|
||||
Conditional GET middleware
|
||||
--------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue