File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ content_type=$(curl -G --head -k -w "%{content_type}\n" -f -s -o /dev/null \
2424 --data-urlencode " accept=text/turtle" \
2525 " $END_USER_BASE_URL " )
2626
27- [ " $content_type " = ' text/turtle' ] || exit 1
27+ [ " $content_type " = ' text/turtle;charset=UTF-8 ' ] || exit 1
2828
2929# check that ?accept URL param overrides Accept header and returns RDF/XML (use Chrome's default Accept value)
3030
@@ -35,6 +35,6 @@ content_type=$(curl -G --head -k -w "%{content_type}\n" -f -s -o /dev/null \
3535 --data-urlencode " accept=application/rdf+xml" \
3636 " $END_USER_BASE_URL " )
3737
38- [ " $content_type " = ' application/rdf+xml' ] || exit 1
38+ [ " $content_type " = ' application/rdf+xml;charset=UTF-8 ' ] || exit 1
3939
4040# TO-DO: try to actually parse the response as Turtle and RDF/XML?
You can’t perform that action at this time.
0 commit comments