From 0bbb4f67541bad9cc7a75db9d735caaa9c74d82c Mon Sep 17 00:00:00 2001 From: Björn Mattsson Date: Thu, 9 Jan 2025 16:44:54 +0100 Subject: Prepare for new DS. Needs discojson_sp --- metadata/fidus-prod.fd | 9 +++++++++ metadata/fidus-test.fd | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/metadata/fidus-prod.fd b/metadata/fidus-prod.fd index d3bb9d0..503513a 100644 --- a/metadata/fidus-prod.fd +++ b/metadata/fidus-prod.fd @@ -30,6 +30,11 @@ - fork: - select as ds - break + - fork: + # need a uniq name to avoid format problem + # pyFF caches accept-type and requse selection :-( + - select as ds-sp: + - break - break - when request: - select @@ -53,3 +58,7 @@ - discojson - emit application/json: - break + - when accept application/json-sp: + - discojson_sp + - emit application/json: + - break diff --git a/metadata/fidus-test.fd b/metadata/fidus-test.fd index 32d8ef3..cf99db5 100644 --- a/metadata/fidus-test.fd +++ b/metadata/fidus-test.fd @@ -27,6 +27,11 @@ - fork: - select as ds - break + - fork: + # need a uniq name to avoid format problem + # pyFF caches accept-type and requse selection :-( + - select as ds-sp: + - break - break - when request: - select @@ -50,3 +55,7 @@ - discojson - emit application/json: - break + - when accept application/json-sp: + - discojson_sp + - emit application/json: + - break -- cgit v1.2.3