w3c / ldp-testsuite

(UNMAINTAINED) Tests for Linked Data Platform (LDP)
Other
22 stars 29 forks source link

Allow LDP Servers to include charset parameter in Turtle media type #194

Closed catch-point closed 10 years ago

catch-point commented 10 years ago

The media type text/turtle;charset=UTF-8 should be treated the same as text/turtle within the test suite.

This pull request changes the media type matching from equals to a regex.

glibersat commented 10 years ago

I'm having the same problem with json-ld:

java.lang.AssertionError: 1 expectation failed.
Expected content-type application/ld+json or application/json doesn't match actual content-type "application/ld+json; charset=UTF-8".

Could you make that possible too with this content-type?

Thx!