Skip to content
Snippets Groups Projects
  • Michael Große's avatar
    079e0137
    fix(HTTPClient): add handling for 204: No Content responses · 079e0137
    Michael Große authored
    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.
    079e0137
    History
    fix(HTTPClient): add handling for 204: No Content responses
    Michael Große authored
    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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.