Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Support async and sync servers in DocumentCollectionZipDownloadView #73

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

pajowu
Copy link
Member

@pajowu pajowu commented Nov 19, 2024

A StreamingHttpResponse for ASGI needs an async iterator, else it will buffer everything in memory. Same with WSGI and sync iterators. This adds a StreamingHttpResponse interface that supports both

@pajowu pajowu requested a review from stefanw November 19, 2024 20:24
A StreamingHttpResponse for ASGI needs an async iterator, else it will buffer everything in memory. Same with WSGI and sync iterators. This adds a StreamingHttpResponse interface that supports both
@pajowu pajowu force-pushed the pajowu/zipstream_async_fix branch from 86bae56 to 85f35e5 Compare November 20, 2024 12:52
@pajowu pajowu merged commit d27b0a8 into main Nov 20, 2024
6 checks passed
@pajowu pajowu deleted the pajowu/zipstream_async_fix branch November 20, 2024 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant