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

--- Comment #3 from Jonathan Druart <[email protected]> ---
Created attachment 211624
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211624&action=edit
Bug 44114: Remove the unused parseResponse option from delete()

Both HttpClients' delete() passed parseResponse: false in the fetch
options. Nothing reads it: it was forwarded to fetch(), which ignores
unknown options. Whether the response is parsed is controlled by
return_response, which delete() already defaults to true.

Test plan:
1. git grep parseResponse -- koha-tmpl t ':!*/lib/*' ':!*/dist/*'
   returns nothing.
2. Run: yarn cypress run --component --browser electron --spec
  
't/cypress/component/HttpClient_spec.ts,t/cypress/component/VueHttpClient_spec.ts'
3. Verify all specs pass.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to