Closed Philly-B closed 3 years ago
@reckart Do you mind having a look?
You will see that I also added a new function called __request_without_response
since I had problems using __request_with_json_response
. The python client seems to clear the response when the status code is 204, which it is for this call. Therefore I added the method mentioned above which just does not care about the content, however, checks that the status code is indeed 204.
Isn't the convention that all calls to the platform should return a JSON response?
That is indeed the convention, however, the python lib seems to somehow clear the content of the response if the status code is 204.
Said differently, collection process complete should probably return a 200 success and not a 204 no content.
Alright, I changed the backend to only return 200 instead of 204, it will be in the next release. Do you mind finishing the review of this issue?
Codecov Report
83.60% <100.00%> (+0.13%)
100.00% <100.00%> (ø)
Continue to review full report at Codecov.