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

Add support for ASGI pathsend extension #2671

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gi0baro
Copy link
Contributor

@gi0baro gi0baro commented Aug 22, 2024

Summary

As per title, this adds support for ASGI pathsend extension on FileResponse class for servers implementing it.

This is a re-work of #2435 combined with parts of #2616, as discussed in #2613 with @Kludex.

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.

@gi0baro gi0baro force-pushed the asgi-pathsend-rework branch 2 times, most recently from 2bbda0a to ddfc5c0 Compare August 22, 2024 14:24
docs/middleware.md Outdated Show resolved Hide resolved
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.

3 participants