[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 15:49:56 CET 2016


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15190

--- Comment #16 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Marc Véron from comment #15)
> Hi Héctor,
> 
> The encoding is OK with the newest patch for example with:
> cgi-bin/koha/unapi?id=koha:biblionumber:45100&format=oai_dc
> (tested with all of: oai_dc, srw_dc, mods, mods-full, mods3, mods3-full,
> rdfdc)
> 
> 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=
> 
> What should happen if I use a biblionumber that does not exist?
> cgi-bin/koha/unapi?id=koha:biblionumber:999999999&format=oai_dc
> 
> 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

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


More information about the Koha-bugs mailing list