aio-libs / aio-libs/aiohttp-cors
Handle 'Method Not Allowed' on class based views
未關閉
- 主要語言
- Python
- 星號
- 220
- 分支
- 61
- 平均合併
- 2 分鐘
- 30 天內合併 PR
- 3
描述
If method is not allowed```CorsViewMixin``` 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
貢獻指南
評估
這個 Issue 還沒有評估資料。