Commit 0ef6b1c1 by Tom Christie

Remove mention of ImmediateResponse

parent 73d337ea
...@@ -9,11 +9,6 @@ To determine the content type to which it must render, default behaviour is to u ...@@ -9,11 +9,6 @@ To determine the content type to which it must render, default behaviour is to u
HTTP Accept header content negotiation. But `Response` also supports overriding the content type HTTP Accept header content negotiation. But `Response` also supports overriding the content type
by specifying an ``_accept=`` parameter in the URL. Also, `Response` will ignore `Accept` headers by specifying an ``_accept=`` parameter in the URL. Also, `Response` will ignore `Accept` headers
from Internet Explorer user agents and use a sensible browser `Accept` header instead. from Internet Explorer user agents and use a sensible browser `Accept` header instead.
`ImmediateResponse` is an exception that inherits from `Response`. It can be used
to abort the request handling (i.e. ``View.get``, ``View.put``, ...),
and immediately returning a response.
""" """
from django.template.response import SimpleTemplateResponse from django.template.response import SimpleTemplateResponse
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment