Merge pull request #179 from taoufik07/patch-16

Typo :3
This commit is contained in:
2018-10-30 21:56:18 -04:00
committed by GitHub
+2 -2
View File
@@ -244,9 +244,9 @@ In order to set custom parameters, you need to set the ``cors_params`` argument
Trusted Hosts
-------------
Make sure that all the incoming requests headers have a valid ``host``, that matches one of the provided patterns in the ``allowed_host`` attribute, in order to prevent HTTP Host Header attacks.
Make sure that all the incoming requests headers have a valid ``host``, that matches one of the provided patterns in the ``allowed_hosts`` attribute, in order to prevent HTTP Host Header attacks.
A 400 response will be raised, if a request does not match any of the provided patterns in the ``allowed_host`` attribute.
A 400 response will be raised, if a request does not match any of the provided patterns in the ``allowed_hosts`` attribute.
::