mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-15 08:17:08 +08:00
10 lines
211 B
Python
10 lines
211 B
Python
from django.core.handlers.wsgi import WSGIRequest
|
|
from django.http.response import FileResponse
|
|
|
|
|
|
def serve(
|
|
request: WSGIRequest,
|
|
path: str,
|
|
insecure: bool = ...,
|
|
**kwargs
|
|
) -> FileResponse: ... |