Skip to content
Snippets Groups Projects
Unverified Commit 079e0137 authored by Michael Große's avatar Michael Große
Browse files

fix(HTTPClient): add handling for 204: No Content responses

This fixes a bug that would occur if the DokuHTTPClient receives a 204
response, e.g. as a result for a request to delete something. It would
still try to read the body, which fails, thus producing a timeout and
finally throwing an exception.

This fix instructs the HTTPClient to not read the (not existing) body if
it receives a 204.
parent 40bf4d4d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment