[Koha-bugs] [Bug 36418] Set response's content-type to application/json when needed - svc scripts

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 27 08:39:37 CET 2024


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

--- Comment #8 from Jonathan Druart <jonathan.druart at gmail.com> ---
(In reply to Victor Grousset/tuxayo from comment #7)
> >> Is this the correct fix and if so, do all the svc/* files need it?
> > Yes
> 
> Maybe these two then?
> svc/recall

I missed this one it seems.

> svc/mana/increment

I don't know, it's not obvious what is the return. Please investigate (test)
and you will see if it returns JSON or something else.

> What about the OPAC?
> opac/svc/club/enroll
> opac/svc/club/cancel_enrollment

If they output JSON, yes they should.

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


More information about the Koha-bugs mailing list