Skip to content
This repository was archived by the owner on May 9, 2022. It is now read-only.

Improvement: Status cod 201 should be allowed #57

Merged
merged 1 commit into from
Apr 20, 2017

Conversation

fish-ball
Copy link
Contributor

Some RESTful backend interface returns status code 201 for successful created requests.

So 201-299 should be considered as success, not only 200.

Some RESTful backend interface returns status code 201 for successful created requests.

So 201-299 should be considered as success, not only 200.
@PeakTai PeakTai merged commit bfeff3b into PeakTai:master Apr 20, 2017
@fish-ball fish-ball deleted the patch-1 branch July 5, 2017 15:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants