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

Allow to specify keywords to aiohttp Application #30

Merged
merged 1 commit into from Jul 12, 2021

Conversation

lbolla
Copy link
Contributor

@lbolla lbolla commented Jul 9, 2021

This allows to specify aiohttp.Application kws: see https://docs.aiohttp.org/en/stable/web_reference.html#aiohttp.web.Application

E.g.: for middlewares

        cirrina.Server(app_kws={
            'middlewares': [error_middleware]
        })

@szakalboss
Copy link

@lbolla
Copy link
Contributor Author

lbolla commented Jul 9, 2021

https://docs.aiohttp.org/en/stable/web_advanced.html#middlewares

@szakalboss What is this comment supposed to mean? Would you elaborate?

@neolynx neolynx merged commit b2a9190 into neolynx:master Jul 12, 2021
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

3 participants