Bug 30394: Add x-koha-request-id handling in controllers
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 30 Mar 2022 11:45:48 +0000 (13:45 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 4 Apr 2022 14:23:46 +0000 (16:23 +0200)
commit9aea9241f3a3fa084b3eaa25d007c69ed7ea40f8
treed33a9c671823ca9819f831f0f2482c37013b776f
parent9453fc6a9fd1289bf516fcb809c80b600c86ef98
Bug 30394: Add x-koha-request-id handling in controllers

This patch adds 'x-koha-request-id' to the reserved param names list,
and makes the objects.search helper read it and send it back in the
response headers.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/REST/Plugin/Objects.pm
Koha/REST/Plugin/Query.pm