Changes between Initial Version and Version 1 of Ticket #34556, comment 3


Ignore:
Timestamp:
May 10, 2023, 12:20:52 PM (18 months ago)
Author:
Alexandre Spaeth

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34556, comment 3

    initial v1  
    11Hello Natalia, I guess I wasn’t clear enough :-)
     2I meant "the content of the iterator", not "the content of the response", my bad.
     3
     4More clearly:
    25The `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).
    36
Back to Top