Bugfix/#23 api
Bug fix
Related Tickets
Summary
The problem stemmed from the way cURL works:
[(23) Failed writing body] happens when a piped program (e.g. grep) closes the read pipe before the previous program is finished writing the whole page.
(https://stackoverflow.com/questions/16703647/why-does-curl-return-error-23-failed-writing-body)
By adding the -N
option (no buffering) this shouldn't happen again. But it did, for reasons unclear to me. Thus I separated the cURL result from further information extraction.
This MR also includes:
- minor linting
- enabling
curl --head
by adding HTTP HEAD to the RESTXQ annotations
Changelog
-
I added a statement to the CHANGELOG.
Edited by Michelle Weidling