Skip to content

Commit

Permalink
Update draft-ietf-scitt-scrapi.md
Browse files Browse the repository at this point in the history
Co-authored-by: A.J. Stein (Unofficial) <iam@ajstein.me>
  • Loading branch information
JAG-UK and aj-stein authored Nov 4, 2024
1 parent be74955 commit a23d3e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draft-ietf-scitt-scrapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ To facilitate automated response to errors, this document defines a set of stand

- response-code: The HTTP error response code relating to this error.

Error responses SHOULD be sent with the `Content-Type: application/problem+cbor` HTTP header.
application/concise-problem-details+cbor

NOTE: SCRAPI is not a CoAP API. Nonetheless Constrained Problem Details objects ({{RFC9290}}) provide a useful CBOR encoding for problem details and avoids the need for mixing CBOR and JSON in endpoint implementations.

Expand Down

0 comments on commit a23d3e2

Please sign in to comment.