-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix 'Method Not Allowed' on class based views #178
base: master
Are you sure you want to change the base?
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