jsonapi-client
jsonapi-client copied to clipboard
Delete with 204 response (and empty body) causes JSON parse error
the JSON:API spec allows for delete requests to have a status code 204, and have no content in the body. This causes an error in this library because it tries to JSON parse the response before checking the status code.
The issue is in src/jsonapi_client/session.py, line 538.