mirror of
https://github.com/django/daphne.git
synced 2025-08-04 18:40:09 +03:00
Fix typo
This commit is contained in:
parent
e0bb19b50a
commit
d65bf9281d
|
@ -22,7 +22,7 @@ def parse_x_forwarded_for(headers,
|
||||||
@param port_header_name: The name of the expected port header
|
@param port_header_name: The name of the expected port header
|
||||||
@param proto_header_name: The name of the expected protocol header
|
@param proto_header_name: The name of the expected protocol header
|
||||||
@param original_addr: A host/port pair that should be returned if the headers are not in the request
|
@param original_addr: A host/port pair that should be returned if the headers are not in the request
|
||||||
@param original_scheme: A scheme hat should be returned if the headers are not in the request
|
@param original_scheme: A scheme that should be returned if the headers are not in the request
|
||||||
@return: A tuple containing a list [host (string), port (int)] as the first entry and a proto (string) as the second
|
@return: A tuple containing a list [host (string), port (int)] as the first entry and a proto (string) as the second
|
||||||
"""
|
"""
|
||||||
if not address_header_name:
|
if not address_header_name:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user