Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

How Mock server chooses the default response to return? Ideally use the first defined 2xx as the default one. #150

Open
zshamrock opened this issue Jul 28, 2020 · 0 comments

Comments

@zshamrock
Copy link

I know there is the Prefer: status= header, although in the case when this header is not present, how Snowboard chooses the default response, and whether there is the way to tweak this?

What I experienced is that having 2 responses 201 and 403 the body of the 403 is returned back by default, while it seems more logical to return the first defined successful response instead.

@zshamrock zshamrock changed the title How Mock server chooses the default response to return? Ideally use 2xx as the default one. How Mock server chooses the default response to return? Ideally use the first defined 2xx as the default one. Jul 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant