Fix 'Method Not Allowed' on class based views#178
Fix 'Method Not Allowed' on class based views#178levkovskyi wants to merge 2 commits intoaio-libs:masterfrom
Conversation
|
Sorry for digging this up, any reason to not merge these changes ? Have been coming across this issue a lot lately ! |
|
Please could we get this merged? I've also run into this issue, and the patch resovles it for me. This is my use-case: router = web.RouteTableDef()
@router.view('/my_endpoint')
class MyEndpoint(web.View, CorsViewMixin):
async def post(self):
print(self.request)
raise web.HTTPOk()When performing a GET against this, the client sees a 500, and the console sees the After applying the patch, the issue is resolved, and the client sees the correct 405. |
|
Is there a plan to merge this? This is completely breaking using views with the library... |
|
|
|
Any chance for merging it? |

Fix for #177