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

Rewrite middleware as Pure ASGI middlewares #573

Closed
vincentsarago opened this issue Jan 16, 2023 · 0 comments · Fixed by #576
Closed

Rewrite middleware as Pure ASGI middlewares #573

vincentsarago opened this issue Jan 16, 2023 · 0 comments · Fixed by #576
Labels
good first issue Good for newcomers

Comments

@vincentsarago
Copy link
Member

ref: tiangolo/fastapi#2241, encode/starlette#1678

class CacheControlMiddleware(BaseHTTPMiddleware):

see: encode/starlette#1678 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant