diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b5c0ceb1..9b90d1b1 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,4 +1,4 @@ Change Log ========== -Please see the `documentation `_. +Please see the `documentation `_. diff --git a/README.rst b/README.rst index 13dbb27b..57464c40 100644 --- a/README.rst +++ b/README.rst @@ -46,5 +46,5 @@ Asked Questions`_. To get started, see the documentation_. -.. _Infrequently Asked Questions: http://whitenoise.evans.io/en/stable/#infrequently-asked-questions -.. _documentation: http://whitenoise.evans.io/en/stable/ +.. _Infrequently Asked Questions: https://whitenoise.evans.io/en/stable/#infrequently-asked-questions +.. _documentation: https://whitenoise.evans.io/en/stable/ diff --git a/docs/base.rst b/docs/base.rst index 7d365d14..3e8be3ba 100644 --- a/docs/base.rst +++ b/docs/base.rst @@ -237,7 +237,7 @@ sub-classing WhiteNoise and setting the attributes directly. The W3C `explicitly state`__ that this behaviour is safe for publicly accessible files. -.. __: http://www.w3.org/TR/cors/#security +.. __: https://www.w3.org/TR/cors/#security .. attribute:: add_headers_function diff --git a/docs/changelog.rst b/docs/changelog.rst index 2f23ebe3..9909572a 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -300,7 +300,7 @@ v3.2 * Fixed a bug where incorrect Content-Type headers were being sent on 304 Not Modified responses (thanks `@oppianmatt `_). * Return Vary and Cache-Control headers on 304 responses, as specified by the - `RFC `_. + `RFC `_. v3.1 ---- @@ -334,7 +334,7 @@ v3.0 import path **will continue to work** for now, but users are encouraged to update their code to use the new path. -.. _WhiteNoise 2.x: http://whitenoise.evans.io/en/legacy-2.x/ +.. _WhiteNoise 2.x: https://whitenoise.evans.io/en/legacy-2.x/ Simpler, cleaner Django middleware integration diff --git a/docs/django.rst b/docs/django.rst index f6b9b000..d536d509 100644 --- a/docs/django.rst +++ b/docs/django.rst @@ -720,7 +720,7 @@ Deploying an application which is not at the root of the domain +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Sometimes Django apps are deployed at a particular prefix (or "subdirectory") -on a domain e.g. http://example.com/my-app/ rather than just http://example.com. +on a domain e.g. https://example.com/my-app/ rather than just https://example.com. In this case you would normally use Django's `FORCE_SCRIPT_NAME `_ diff --git a/docs/flask.rst b/docs/flask.rst index 7ccdd38c..3f0d181c 100644 --- a/docs/flask.rst +++ b/docs/flask.rst @@ -96,7 +96,7 @@ By default, WhiteNoise will serve up static files from the URL root -- i.e., ``http://localhost:5000/style.css``. To change that, set a `prefix -`_ string: +`_ string: .. code-block:: python diff --git a/setup.py b/setup.py index 3f7c86e1..16bbdcd0 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def read(*path): version=version, author="David Evans", author_email="d@evans.io", - url="http://whitenoise.evans.io", + url="https://whitenoise.evans.io", packages=find_packages(exclude=["tests*"]), license="MIT", description="Radically simplified static file serving for WSGI applications", diff --git a/whitenoise/base.py b/whitenoise/base.py index 16d6d5bb..8b967edf 100644 --- a/whitenoise/base.py +++ b/whitenoise/base.py @@ -38,7 +38,7 @@ class WhiteNoise(object): max_age = 60 # Set 'Access-Control-Allow-Orign: *' header on all files. # As these are all public static files this is safe (See - # http://www.w3.org/TR/cors/#security) and ensures that things (e.g + # https://www.w3.org/TR/cors/#security) and ensures that things (e.g # webfonts in Firefox) still work as expected when your static files are # served from a CDN, rather than your primary domain. allow_all_origins = True diff --git a/whitenoise/django.py b/whitenoise/django.py index 07756b5e..019132bc 100644 --- a/whitenoise/django.py +++ b/whitenoise/django.py @@ -2,6 +2,6 @@ "\n\n" "Your WhiteNoise configuration is incompatible with WhiteNoise v4.0\n" "This can be fixed by following the upgrade instructions at:\n" - "http://whitenoise.evans.io/en/stable/changelog.html#v4-0\n" + "https://whitenoise.evans.io/en/stable/changelog.html#v4-0\n" "\n" ) diff --git a/whitenoise/responders.py b/whitenoise/responders.py index cac28992..645f796e 100644 --- a/whitenoise/responders.py +++ b/whitenoise/responders.py @@ -19,7 +19,7 @@ ) # Headers which should be returned with a 304 Not Modified response as -# specified here: http://tools.ietf.org/html/rfc7232#section-4.1 +# specified here: https://tools.ietf.org/html/rfc7232#section-4.1 NOT_MODIFIED_HEADERS = ( "Cache-Control", "Content-Location",