Merged requested to merge bugfix/#23-api into develop
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.
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
curl --headby adding HTTP HEAD to the RESTXQ annotations
I added a statement to the CHANGELOG.