Skip to content

Commit 1c8d369

Browse files
committed
fix(trustless-gateway): URL query param priority for CAR options
update car-version, car-order, car-dups to match IPIP-0523: URL query parameter SHOULD take precedence over Accept header
1 parent 8330f40 commit 1c8d369

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/http-gateways/trustless-gateway.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,23 +237,23 @@ Optional, only used on CAR requests.
237237

238238
Serves same purpose as [CAR `version` content type parameter](#car-version-content-type-parameter).
239239

240-
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.
240+
In case both are present in the request, the URL query parameter SHOULD take precedence and a matching [`Content-Location`](#content-location-response-header) SHOULD be returned with the response.
241241

242242
### :dfn[`car-order`] (request query parameter)
243243

244244
Optional, only used on CAR requests.
245245

246246
Serves same purpose as [CAR `order` content type parameter](#car-order-content-type-parameter).
247247

248-
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.
248+
In case both are present in the request, the URL query parameter SHOULD take precedence and a matching [`Content-Location`](#content-location-response-header) SHOULD be returned with the response.
249249

250250
### :dfn[`car-dups`] (request query parameter)
251251

252252
Optional, only used on CAR requests.
253253

254254
Serves same purpose as [CAR `dups` content type parameter](#car-dups-content-type-parameter).
255255

256-
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.
256+
In case both are present in the request, the URL query parameter SHOULD take precedence and a matching [`Content-Location`](#content-location-response-header) SHOULD be returned with the response.
257257

258258
# HTTP Response
259259

0 commit comments

Comments
 (0)