-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Description
from my issue #954. I found that middleware decarator are required ( Request and call_next ) on the function. Which call_next() will return a Response value by pass a Request in function. But the call_next(), It's return StreamingResponse ( from Response Class). There are no attribute for Body or any instead to get body object from StreamingResponse.
So if i would like to override BaseHTTPMiddleware, or it's have way to get body from StreamingResponse?