diff options
| author | Claude Paroz <claude@2xlibre.net> | 2015-03-13 23:40:14 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2015-03-18 18:22:50 +0100 |
| commit | a0c2eb46dd5a782c11c44f13c8efad2778be1641 (patch) | |
| tree | 699c83457e903200607ae550abaacbd74d33941f /docs/ref | |
| parent | 0339844b70895d6162b4595ae615e6edf843c6cd (diff) | |
Fixed #23960 -- Removed http.fix_location_header
Thanks Carl Meyer for the report and Tim Graham for the review.
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 |
