Fix stream caching in _CachedRequest
Closed
KU
10mo ago+90+90+01234567890123456789-6-6-0123456789
Summary
I noticed that _CachedRequest at starlette.middleware.base had uncomplete stream() generator caching (_wrapped_rc_stream), so I fixed that
Checklist
-
I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!)
-
I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
-
I've updated the documentation accordingly.