Coverage for netbox/granian.py: 0%

3 statements  

« prev     ^ index     » next       coverage.py v7.15.2, created at 2026-10-10 18:35 +0000

1from granian.utils.proxies import wrap_wsgi_with_proxy_headers 

2from netbox.wsgi import application 

3 

4application = wrap_wsgi_with_proxy_headers( 

5 application, 

6 trusted_hosts=[ 

7 '10.0.0.0/8', 

8 '172.16.0.0/12', 

9 '192.168.0.0/16', 

10 'fc00::/7', 

11 'fe80::/10', 

12 ], 

13)