[Koha-bugs] [Bug 15190] Bad utf8 decode to unapi and fixing code status 200
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 12 20:05:02 CET 2016
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15190
--- Comment #17 from Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> ---
(In reply to Marcel de Rooy from comment #16)
Hi Marc
Thank you for keep testing. As Marcel comments the way of the bug has change
since the documentation in comment 11. ( I was in a mistake)
> (In reply to Marc Véron from comment #15)
> > What should happen if I do:
> >
> > cgi-bin/koha/unapi?id=koha:biblionumber:45100&format=xxx
> > cgi-bin/koha/unapi?id=koha:biblionumber:45100&format=
According with the first revision, the unapi must return an code status 300
multiple choice.
> > What should happen if I use a biblionumber that does not exist?
> > cgi-bin/koha/unapi?id=koha:biblionumber:999999999&format=oai_dc
This must return a 400 or 404 code.
> >
> > At the moment I get a blank page for all cases.
>
> Blank page is not an error. Unapi should return a http status code for bad
> requests. See comment11
Regards
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list