[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
Tue Jan 26 16:07:05 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23857

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA
                 CC|                            |martin.renvoize at ptfs-europe
                   |                            |.com

--- Comment #10 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
This one is a bit weird to me...

Whilst it adds a semi-sensible Location header.. I would have thought that
header should point to the created resource (rather than the generic 'list all
resources' route).  But, more than that, neither the `list` or `get` routes
actually exist.. so the Location header will point to a 404.

I think we aught to add the `get` endpoint to get the individual created
resource and update this patch to point to that specific resource rather than
the list.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list