mirror of https://github.com/dapr/docs.git
* Added errorIfNot2XX option to HTTP binding docs * Update daprdocs/content/en/reference/components-reference/supported-bindings/http.md --------- Signed-off-by: Wim Vande Casteele <wim.vande.casteele@randstadgroup.be> Signed-off-by: Mark Fussell <markfussell@gmail.com> Signed-off-by: Artur Souza <asouza.pro@gmail.com> Co-authored-by: wimvc1 <86042870+wimvc1@users.noreply.github.com> Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> Co-authored-by: Mark Fussell <markfussell@gmail.com>
This commit is contained in:
parent
a4dfdafd53
commit
06e114e1e3
|
@ -40,6 +40,8 @@ spec:
|
|||
# key: "mytoken"
|
||||
#- name: securityTokenHeader
|
||||
# value: "Authorization: Bearer" # OPTIONAL <header name for the security token>
|
||||
#- name: errorIfNot2XX
|
||||
# value: "false" # OPTIONAL
|
||||
```
|
||||
|
||||
## Spec metadata fields
|
||||
|
@ -54,8 +56,8 @@ spec:
|
|||
| `MTLSRenegotiation` | N | Output | Type of mTLS renegotiation to be used | `RenegotiateOnceAsClient`
|
||||
| `securityToken` | N | Output | The value of a token to be added to a HTTP request as a header. Used together with `securityTokenHeader` |
|
||||
| `securityTokenHeader` | N | Output | The name of the header for `securityToken` on a HTTP request |
|
||||
| `errorIfNot2XX` | N | Output | If a binding error should be thrown when the response is not in the 2xx range. Defaults to `true` |
|
||||
|
||||
### How to configure mTLS-related fields in metadata
|
||||
|
||||
The values for **MTLSRootCA**, **MTLSClientCert** and **MTLSClientKey** can be provided in three ways:
|
||||
|
||||
|
|
Loading…
Reference in New Issue