Update dependencies so that the package works with the latest framework versions in preparation for a stable v3 release. See #96 for context.
The PR's been rebased for convenient commit by commit review.
From sanicv21view now requires defining the method get, post, ... independently otherwise will throw 405, thus the current approach of overriding dispatch_request won't work. The workaround is to just assign the individual method to dispatch_request
async def __handle_request(self, request, ...): ... # previously dispatch_request
get = post = put = head = options = patch = delete = __handle_request
Update dependencies so that the package works with the latest framework versions in preparation for a stable v3 release. See #96 for context.
The PR's been rebased for convenient commit by commit review.
From
sanic
v21
view
now requires defining the methodget
,post
, ... independently otherwise will throw405
, thus the current approach of overridingdispatch_request
won't work. The workaround is to just assign the individual method todispatch_request
Close #86 Close #92 Close #94 Close #98
Supersede #87, #89, #91, #95.
@erikwrede