summaryrefslogtreecommitdiff
path: root/metadata/fidus-prod.fd
diff options
context:
space:
mode:
Diffstat (limited to 'metadata/fidus-prod.fd')
-rw-r--r--metadata/fidus-prod.fd9
1 files changed, 9 insertions, 0 deletions
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