[Koha-bugs] [Bug 23859] Cities endpoint not setting the Location header

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 21 21:15:32 CEST 2019


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

--- Comment #3 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 94499
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94499&action=edit
Bug 23859: Make POST add the Location header on cities endpoint

According to the coding guidelines, this endpoint should be adding the
Location header on POST actions.

To test:
1. Apply the tests patch
2. Run:
    $ kshell
    k$ prove t/db_dependent/api/v1/cities.t
=> FAIL: Tests fail!
3. Apply this patch
4. Repeat (1)
=> SUCCESS: Tests pass!
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list