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

♻️ Do not use the deprecated method parameter in FileResponse inside of StaticFiles #2406

Merged
merged 3 commits into from
Jan 11, 2024

Conversation

tiangolo
Copy link
Sponsor Member

@tiangolo tiangolo commented Jan 11, 2024

Summary

♻️ Do not use the deprecated method parameter in FileResponse inside of StaticFiles

This is a continuation of #2366

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.

@Kludex
Copy link
Sponsor Member

Kludex commented Jan 11, 2024

I saw this the other day... I thought I had included this somewhere. 🤔

Thanks. 👍

@tiangolo tiangolo marked this pull request as ready for review January 11, 2024 15:13
@tiangolo tiangolo requested a review from Kludex January 11, 2024 15:13
@tiangolo tiangolo changed the title ♻️ Do not use the deprecated method parameter in FileResponse inside of StaticFiles ♻️ Do not use the deprecated method parameter in FileResponse inside of StaticFiles Jan 11, 2024
@Kludex Kludex merged commit 3734e85 into encode:master Jan 11, 2024
5 checks passed
@tiangolo tiangolo deleted the static-files-file-response branch January 11, 2024 15:19
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.

None yet

2 participants