Commit e1594a58 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed broken upload streaming.

parent a4180d32
Pipeline #96865 passed with stages
in 21 minutes and 49 seconds
......@@ -18,7 +18,9 @@
from fastapi import FastAPI, status, Response
from fastapi.responses import JSONResponse, HTMLResponse
from fastapi.middleware.wsgi import WSGIMiddleware
# We use a2wsgi. It is an alternative to the fastapi provided WSGIMiddleware that manages
# to stream requests instead of buffering them.
from a2wsgi import WSGIMiddleware
from starlette.middleware.base import BaseHTTPMiddleware
from starlette.exceptions import HTTPException as StarletteHTTPException
from fastapi.exception_handlers import http_exception_handler as default_http_exception_handler
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment