[Koha-bugs] [Bug 31022] 400/404 actually returns 500

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 6 22:12:56 CEST 2022


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

--- Comment #4 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Martin Renvoize from comment #3)
> I do however find it really weird still that you can define more than one
> definition for the same response status on the endpoint...
> 
> i.e. the internal 400 definitions for the validator software and then our
> own one for our own errors.
> 
> I would have expected our definition to take precedence over the internal
> one and thus need it to be a superset of the built-in one.
> 
> Interesting.

Doesn't our definition just overload the default/internal one? It used to
return a 500 because it wasn't considered a valid response in the spec, which I
find correct.

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


More information about the Koha-bugs mailing list