Skip to content

aiohttp-cors accesses the aiohttp protected self._routes  #483

Open
@bdraco

Description

@bdraco

preflight_route = resource._routes[hdrs.METH_OPTIONS]

          > `aiohttp-cors` accesses the protected `self._routes` here and relies on being able to add new methods

We could just update that library?

Originally posted by @Dreamsorcerer in aio-libs/aiohttp#9972 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions