Client code should be able to work with empty error responses #303

Closed
opened 2022-12-15 09:24:33 +01:00 by Jef Roosens · 0 comments

The client code currently errors out if the response isn't JSON, even if the response doesn't contain any content. It would be better if it could work with this as well.

Besides this, requests that don't return a 2xx or 3xx response should throw an appropriate error as well.

The client code currently errors out if the response isn't JSON, even if the response doesn't contain any content. It would be better if it could work with this as well. Besides this, requests that don't return a 2xx or 3xx response should throw an appropriate error as well.
Jef Roosens added this to the 0.5.0 milestone 2022-12-15 09:24:33 +01:00
Jef Roosens added the
enhancement
label 2022-12-15 09:24:33 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vieter-v/vieter#303
There is no content yet.