File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -67,15 +67,15 @@ the server does not support any of the requested content types a HTTP 406 respon
6767MUST be returned. The 406 response body MUST contain a list of server supported
6868content types in the below format with ` text/plain ` content type.
6969
70- ``` text
70+ ``` abnf
7171media-type *(", " media-type)
7272```
7373
7474e.g. ` application/vnd.cyclonedx+xml; version=1.4, application/vnd.cyclonedx+xml; version=1.3 `
7575
7676API servers MUST provide the correct ` Content-Type ` HTTP response header. For example:
7777
78- ``` httpspec
78+ ``` http
7979Content-Type: application/vnd.cyclonedx+xml; version=1.4
8080```
8181
@@ -87,7 +87,7 @@ MUST respond with the latest available version of the BOM.
8787- Clients MUST support an optional ` Authorization ` header being specified.
8888- Clients MUST provide a ` Accept ` HTTP request header. For example:
8989
90- ``` httpspec
90+ ``` http
9191Accept: application/vnd.cyclonedx+xml; version=1.4, application/vnd.cyclonedx+xml; version=1.3
9292```
9393
@@ -115,7 +115,7 @@ the server does not support the supplied content type a HTTP 415 Unsupported
115115Media Type response MUST be returned. The 415 response body MUST contain a list
116116of server supported content types in the below format with ` text/plain ` content type.
117117
118- ``` text
118+ ``` abnf
119119media-type *(", " media-type)
120120```
121121
@@ -130,6 +130,6 @@ Clients MUST support an optional `Authorization` header being specified.
130130
131131Clients MUST provide the correct ` Content-Type ` HTTP request header. For example:
132132
133- ``` httpspec
133+ ``` http
134134Content-Type: application/vnd.cyclonedx+xml; version=1.4
135135```
Original file line number Diff line number Diff line change @@ -143,13 +143,13 @@ These point to URIs for the transparency exchange data.
143143If there are no records, try to resolve the name (using AAAA and A DNS records) and
144144append the /.well-known/tei prefix
145145
146- ```zone_file
146+ ```zone
147147_tei._tcp.tex.example.com. 3600 IN URI 10 1 “https://www.example.com/transparency“
148148```
149149
150150Example response of DNS query including multiple URIs with a priority
151151
152- ``` zone_file
152+ ``` zone
153153_tei._tcp.tex.example.com. 3600 IN URI 10 1 “https://www.example.com/transparency“
154154_tei._tcp.tex.example.com. 3600 IN URI 20 1 “https://backup.example.com/transparency“
155155_tei._tcp.tex.example.com. 3600 IN URI 30 1 “https://thirdparty.example.org/example.com/transparency“
You can’t perform that action at this time.
0 commit comments