From 111fc4f087b614f986b1581a374037b52f619d72 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Wed, 17 May 2023 15:57:07 +0200 Subject: [PATCH] ipip-412: HTTP 406 on unsupported CAR param --- src/ipips/ipip-0412.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ipips/ipip-0412.md b/src/ipips/ipip-0412.md index fa0f9e24..9bd8ebeb 100644 --- a/src/ipips/ipip-0412.md +++ b/src/ipips/ipip-0412.md @@ -135,9 +135,10 @@ Content-Type: application/vnd.ipld.car;version=1;order=dfs;dups=y Gateway implementations are free to decide on the implicit default ordering or other parameters, and use it in responses when client did not explicitly -specify, or requested unsupported or unknown query parameter. +specify any matching preference. -Implementations MAY choose to implement only some of the parameters. +Implementations MAY choose to implement only some of the parameters and return +HTTP 406 Not Acceptable when client requested a response with unsupported one. ## Design rationale