Changes between Initial Version and Version 1 of Ticket #34556, comment 3
- Timestamp:
- May 10, 2023, 12:20:52 PM (18 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34556, comment 3
initial v1 1 1 Hello Natalia, I guess I wasn’t clear enough :-) 2 I meant "the content of the iterator", not "the content of the response", my bad. 3 4 More clearly: 2 5 The `streaming_content` passed to the class constructor is an `Iterable[bytes]` (or an `AsyncIterable[bytes]`), but according to https://github.com/django/django/blob/6e32d1fa1dafd0c9cd9f93997ecebb26cd9a1b62/tests/httpwrappers/tests.py#L672, it can also be an `Iterable[str]` or even `Iterable[object]` in the case of a `memoryview` (and their respective async ones). 3 6