Skip to content

Commit 1009bbf

Browse files
committed
HTTP test fix
1 parent 6a93b66 commit 1009bbf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

http-tests/proxy/HEAD-proxied-accept.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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?

0 commit comments

Comments
 (0)