Closed fischor closed 2 years ago
There has already an issue for error handling been raised with #28.
I would consider this PR to be sufficient for now but I don't want to merge it without @chripo taking a look over it and confirming it before as well.
Thank you for reporting and further investigations. I really appreciate it! I'm going to close it in favor of GH-54
Status codes sometimes get rewritten to simply 400. This happens e.g. when on a Write when there is an authentication issue that should actually return code 401.
With this PR the actual status codes are propagated.