You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/http-gateways/trustless-gateway.md
+16-7Lines changed: 16 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -196,18 +196,27 @@ returned:
196
196
197
197
### :dfn[`car-version`] (request query parameter)
198
198
199
-
Only used on CAR requests, it is the same as [CAR version](#car-version) content
200
-
type parameter. In case both are present, the value in the HTTP Header has priority.
199
+
Optional, only used on CAR requests.
200
+
201
+
Serves same purpose as [CAR `version` content type parameter](#car-version-content-type-parameter).
202
+
203
+
In case both are present in the request, the value from the [`Accept`](#accept-request-header) HTTP Header has priority and a matching [`Content-Location`](#content-location-response-header) SHOULD be returned with the response.
201
204
202
205
### :dfn[`car-order`] (request query parameter)
203
206
204
-
Only used on CAR requests, it is the same as [CAR `order`](#car-order-content-type-parameter)
205
-
content type parameter. In case both are present, the value in the HTTP Header has priority.
207
+
Optional, only used on CAR requests.
208
+
209
+
Serves same purpose as [CAR `order` content type parameter](#car-order-content-type-parameter).
210
+
211
+
In case both are present in the request, the value from the [`Accept`](#accept-request-header) HTTP Header has priority and a matching [`Content-Location`](#content-location-response-header) SHOULD be returned with the response.
206
212
207
213
### :dfn[`car-dups`] (request query parameter)
208
214
209
-
Only used on CAR requests, it is the same as [CAR `dups`](#car-dups-content-type-parameter)
210
-
content type parameter. In case both are present, the value in the HTTP Header has priority.
215
+
Optional, only used on CAR requests.
216
+
217
+
Serves same purpose as [CAR `dups` content type parameter](#car-dups-content-type-parameter).
218
+
219
+
In case both are present in the request, the value from the [`Accept`](#accept-request-header) HTTP Header has priority and a matching [`Content-Location`](#content-location-response-header) SHOULD be returned with the response.
211
220
212
221
# HTTP Response
213
222
@@ -249,7 +258,7 @@ A CAR stream for the requested
249
258
content type (with optional `order` and `dups` params), path and optional
0 commit comments