aio-libs / aio-libs/aiohttp-cors

Handle 'Method Not Allowed' on class based views

未關閉
#177 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
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 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。