Download env/lib/python3.12/site-packages/fastapi/middleware/trustedhost.py from janggi3/myapp: direct link, hf CLI and curl.
- Browser
- Download file 109 Bytes
-
https://huggingface.co/spaces/janggi3/myapp/resolve/main/env/lib/python3.12/site-packages/fastapi/middleware/trustedhost.py
- Command line
-
hf download hf://spaces/janggi3/myapp/env/lib/python3.12/site-packages/fastapi/middleware/trustedhost.py
-
curl -L -o trustedhost.py https://huggingface.co/spaces/janggi3/myapp/resolve/main/env/lib/python3.12/site-packages/fastapi/middleware/trustedhost.py
109 Bytes
| from starlette.middleware.trustedhost import ( # noqa | |
| TrustedHostMiddleware as TrustedHostMiddleware, | |
| ) | |