Bug 24238 - GET /biblios does not default to accept:application/json
Summary: GET /biblios does not default to accept:application/json
Status: RESOLVED DUPLICATE of bug 24237
Alias: None
Product: Koha
Classification: Unclassified
Component: REST API (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on: 23677
Blocks:
  Show dependency treegraph
 
Reported: 2019-12-13 12:57 UTC by Jonathan Druart
Modified: 2020-03-18 18:33 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2019-12-13 12:57:06 UTC
The accept header value has to be set, it does not default to application/json like the other routes.
Comment 1 Tomás Cohen Arazi 2019-12-18 13:34:47 UTC
I've been thinking o trying to make the default be HTML using the current TT for detailed view. That's why I left it like that. Otherwise people would start using it without setting the Accept header and it would be a breaking change. But you are right the other ones don't require.
Comment 2 Tomás Cohen Arazi 2020-03-18 18:33:15 UTC

*** This bug has been marked as a duplicate of bug 24237 ***