aiohttp-cors
aiohttp-cors copied to clipboard
Handle 'Method Not Allowed' on class based views
If method is not allowedCorsViewMixin raise KeyError , and client gets 502 Bad Gateway instead expected 405: Method Not Allowed .
Source code: https://github.com/aio-libs/aiohttp-cors/blob/master/aiohttp_cors/mixin.py#L28
Would you make a bugfix?
@asvetlov Please check my pull request.
@asvetlov ping
@asvetlov ping