Closed adriangb closed 2 months ago
FYI, The streaming response used to also do:
if not isinstance(chunk, (bytes, memoryview)):
chunk = chunk.encode(self.charset)
It itsn't covered so when it was removed in https://github.com/encode/starlette/pull/2620/files it didn't break
There is a test already, am I missing something?
Alternative to https://github.com/encode/starlette/pull/2176