HomeSoftware Heritage

api: fix swh.core.api.decode_request on python 3.5

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

api: fix swh.core.api.decode_request on python 3.5

The json decoder was broken on py35, as is used to expect a str object and
not a bytes one. For now, we encode the bytes one using utf-8.

This could/should be reverted as soon as we drop support for py35.

Details

Provenance
douarddaAuthored on Oct 11 2019, 1:18 PM
douarddaPushed on Oct 11 2019, 1:32 PM
Differential Revision
D2126: api: fix swh.core.api.decode_request on python 3.5
Build Status
Buildable 8325
Build 12044: test-and-buildJenkins

Commit No Longer Exists

This commit no longer exists in the repository.