Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There seems to be cases in newer `jupyter_server` versions where the mime-type for the response is labeled as application/json but it is actually the error message string. Fixes the `jupyter-delete-directory` test. * jupyter-rest-api.el (jupyter-api-url-parse-response): Catch JSON parse errors when `url-http-response-status` >= 400 and assume what was returned is the error message.
- Loading branch information