Skip to content

Force aiohttp.web handlers to coroutines #186

@asvetlov

Description

@asvetlov

Now handler may be a regular function.

I guess to stop support for this behavior and raise an exception in router.add_route() if non-coroutine has passed.

@fafhrd91 you have guessed this earlier, do you agree with proposed change now?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions