[Koha-bugs] [Bug 23857] Club holds endpoint not setting Location header
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jan 25 22:02:50 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23857
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #114783|0 |1
is obsolete| |
--- Comment #8 from David Nind <david at davidnind.com> ---
Created attachment 115790
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115790&action=edit
Bug 23857: Make adding club holds set the Location header
This patch makes the club holds route add the Location header to the
response as specified in the API coding guidelines.
To test:
1. Apply the regression tests patch
2. Run:
$ kshell
k$ prove t/db_dependent/api/v1/clubs_holds.t
=> FAIL: Tests don't pass!
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass!
5. Sign off :-D
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: David Nind <david at davidnind.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list