diff options
Diffstat (limited to 'docs/topics/http')
| -rw-r--r-- | docs/topics/http/_images/middleware.graffle | 2 | ||||
| -rw-r--r-- | docs/topics/http/sessions.txt | 2 | ||||
| -rw-r--r-- | docs/topics/http/shortcuts.txt | 2 | ||||
| -rw-r--r-- | docs/topics/http/urls.txt | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/docs/topics/http/_images/middleware.graffle b/docs/topics/http/_images/middleware.graffle index 4aa85f7611..cdefd4b810 100644 --- a/docs/topics/http/_images/middleware.graffle +++ b/docs/topics/http/_images/middleware.graffle @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>ActiveLayerIndex</key> diff --git a/docs/topics/http/sessions.txt b/docs/topics/http/sessions.txt index da9e5ef567..89e37bb4b7 100644 --- a/docs/topics/http/sessions.txt +++ b/docs/topics/http/sessions.txt @@ -165,7 +165,7 @@ and the :setting:`SECRET_KEY` setting. Finally, the size of a cookie can have an impact on the `speed of your site`_. -.. _`common limit of 4096 bytes`: http://tools.ietf.org/html/rfc2965#section-5.3 +.. _`common limit of 4096 bytes`: https://tools.ietf.org/html/rfc2965#section-5.3 .. _`replay attacks`: https://en.wikipedia.org/wiki/Replay_attack .. _`speed of your site`: http://yuiblog.com/blog/2007/03/01/performance-research-part-3/ diff --git a/docs/topics/http/shortcuts.txt b/docs/topics/http/shortcuts.txt index ab8c237ee9..58bffcf64a 100644 --- a/docs/topics/http/shortcuts.txt +++ b/docs/topics/http/shortcuts.txt @@ -261,7 +261,7 @@ You can use the :func:`redirect` function in a number of ways. def my_view(request): ... - return redirect('http://example.com/') + return redirect('https://example.com/') By default, :func:`redirect` returns a temporary redirect. All of the above forms accept a ``permanent`` argument; if set to ``True`` a permanent redirect diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt index b00c3d462c..b5f108e309 100644 --- a/docs/topics/http/urls.txt +++ b/docs/topics/http/urls.txt @@ -179,10 +179,10 @@ What the URLconf searches against The URLconf searches against the requested URL, as a normal Python string. This does not include GET or POST parameters, or the domain name. -For example, in a request to ``http://www.example.com/myapp/``, the URLconf +For example, in a request to ``https://www.example.com/myapp/``, the URLconf will look for ``myapp/``. -In a request to ``http://www.example.com/myapp/?page=3``, the URLconf will look +In a request to ``https://www.example.com/myapp/?page=3``, the URLconf will look for ``myapp/``. The URLconf doesn't look at the request method. In other words, all request |
