Page MenuHomeSoftware Heritage

2 small improvements
ClosedPublic

Authored by douardda on Jan 31 2019, 4:04 PM.

Details

Summary
  • Make the cur_arg argument optional in BaseDb.cursor() just to make our life a bit easier...
  • Fix async version of decode_request so thath it does not fail if no payload at all is provided in the request, eg. for an endpoint which really is (or at least should be) a simple GET...

Diff Detail

Repository
rDCORE Foundations and core functionalities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.