We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae475fa commit e765a60Copy full SHA for e765a60
1 file changed
http-tests/dataspaces/non-existent-dataspace-accept-param.sh
@@ -0,0 +1,18 @@
1
+#!/usr/bin/env bash
2
+set -euo pipefail
3
+
4
+# Regression: ?accept= param must be honoured even when the dataspace does not exist
5
6
+# admin app
7
+content_type=$(curl -k -s -G -w "%{content_type}" -o /dev/null \
8
+ --data-urlencode "accept=text/turtle" \
9
+ "https://admin.non-existing.localhost:4443/")
10
11
+echo "$content_type" | grep -q "text/turtle"
12
13
+# end-user app
14
15
16
+ "https://non-existing.localhost:4443/")
17
18
0 commit comments