diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/request-response.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index a555ba76eb..36588cc18a 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -824,8 +824,10 @@ types of HTTP responses. Like ``HttpResponse``, these subclasses live in The first argument to the constructor is required -- the path to redirect to. This can be a fully qualified URL - (e.g. ``'http://www.yahoo.com/search/'``) or an absolute path with no - domain (e.g. ``'/search/'``). See :class:`HttpResponse` for other optional + (e.g. ``'http://www.yahoo.com/search/'``), an absolute path with no domain + (e.g. ``'/search/'``), or even a relative path (e.g. ``'search/'``). In that + last case, the client browser will reconstruct the full URL itself + according to the current path. See :class:`HttpResponse` for other optional constructor arguments. Note that this returns an HTTP status code 302. .. attribute:: HttpResponseRedirect.url |
