Page MenuHomeSoftware Heritage

api: factorize SWHRemoteAPI.(get|post)_stream methods
ClosedPublic

Authored by douardda on Mar 18 2019, 10:54 AM.

Details

Summary
  • merge raw_post and row_get in a unique raw_verb method,
  • merge post_stream() and post() as a unique post(); post_strean is then a call to post with the 'stream' parameter set,
  • merge get_stream() and get() the same.

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.

Event Timeline

This revision is now accepted and ready to land.Mar 18 2019, 12:32 PM
This revision was automatically updated to reflect the committed changes.