View Issue Details

IDProjectCategoryView StatusLast Update
0007301Talerbank API (C)public2022-10-20 11:22
ReporterChristian Grothoff Assigned ToMS  
PrioritylowSeveritytweakReproducibilityN/A
Status assignedResolutionopen 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Version0.9 
Summary0007301: 200 OK or 204 No content?
DescriptionSeveral endpoints in the bank access API are specified to return 200 OK (presumably with an empty JSON object for the body).
However, it would likely be better to return 204 No Content and an empty body, as there is nothing to return and we do so elsewhere.

As a first step, the cashier should be adjusted to tolerate the new behavior (200 and 204 are both OK), then we can modify libeufin/fakebank to return 204, and then phase-out 200 support.
TagsNo tags attached.

Activities

grote

2022-08-17 20:47

developer   ~0019014

It looks like current cashier doesn't care as long as the status code is < 300

Christian Grothoff

2022-08-20 23:09

manager   ~0019021

MS: can you adjust the spec and return 204 with an empty body instead of 200 OK for the endpoints that clearly return 'nothing'?

Issue History

Date Modified Username Field Change
2022-08-16 10:38 Christian Grothoff New Issue
2022-08-16 10:38 Christian Grothoff Status new => assigned
2022-08-16 10:38 Christian Grothoff Assigned To => grote
2022-08-16 10:38 Christian Grothoff Priority normal => low
2022-08-17 20:47 grote Note Added: 0019014
2022-08-20 23:08 Christian Grothoff Assigned To grote => MS
2022-08-20 23:09 Christian Grothoff Note Added: 0019021
2022-10-20 11:22 Christian Grothoff Target Version 0.9 =>