-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return HTTP 400 Bad Request for unknown instance in last operation
v2.15 of the OSB API spec is a little unclear about how to handle the scenario where a request is made for the last operation of an instance id that does not exist and never existed. It does specify a 400 Bad Request for "malformed or missing mandatory data". In this case an unknown instance id is provided, so it's the best option for response code. The spec is improved in v2.16. There, it adds a 404 Not Found for this scenario. We'll change this when we move to the newer spec. Resolves #306
- Loading branch information
1 parent
e25bca4
commit b57eef5
Showing
5 changed files
with
61 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters