Skip to content

Commit 6c9f8c8

Browse files
authored
Merge pull request #675 from waterlink/broker-may-return-400-when-x-broker-api-header-is-missing
Clarify the response code when platform does not provide the required api version header
2 parents 248b25b + 6214f80 commit 6c9f8c8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,10 @@ Service Broker MAY reject the request with `412 Precondition Failed` and
175175
provide a message that informs the operator of the API version that is to be
176176
used instead.
177177

178+
If the request from the Platform to the Service Broker doesn't contain this
179+
header, then the Service Broker MAY reject the request with `400 Bad Request`
180+
and provide a message that the header is required.
181+
178182
### Originating Identity
179183

180184
Often a Service Broker will need to know the identity of the user that

0 commit comments

Comments
 (0)