Searched refs:xff (Results 1 – 4 of 4) sorted by relevance
/unit/test/ |
H A D | test_forwarded_header.py | 30 def get_fwd(sock_type='ipv4', xff=None, xfp=None): argument 35 if xff is not None: 36 headers['X-Forwarded-For'] = xff 63 resp = get_fwd(xff='1.1.1.1', xfp='https') 69 assert get_addr(xff='1.1.1.1') == '127.0.0.1', 'bad source' 70 assert get_addr(xff='blah') == '127.0.0.1', 'bad xff' 87 resp = get_fwd(xff='1.1.1.1', xfp='https') 93 assert get_addr(xff='1.1.1.1') == '1.1.1.1', 'xff replace' 174 assert get_addr(xff='1.1.1.1') == '1.1.1.1', 'xff chain' 177 get_addr(xff='8.8.8.8, 1.1.1.1, 10.5.2.1') == '1.1.1.1' [all …]
|
H A D | test_unix_abstract.py | 45 def get_xff(xff, sock_type='ipv4'): argument 57 headers={'Connection': 'close', 'X-Forwarded-For': xff},
|
H A D | test_client_ip.py | 35 def get_xff(xff, sock_type='ipv4'): argument 47 headers={'Connection': 'close', 'X-Forwarded-For': xff},
|
/unit/docs/ |
H A D | unit-openapi.yaml | 2235 - xff 2263 - xff 2299 - xff 2326 - xff 2354 - xff 2398 - xff 2430 - xff 2477 - xff 2510 - xff 2551 - xff [all …]
|