w3c / ldp-testsuite

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

testGetResourceAcceptTurtle Should NOT Test Accept Header Absent #198

Closed catch-point closed 10 years ago

catch-point commented 10 years ago

testGetResourceAcceptTurtle is a [MUST] test and should be limited to testing 4.3.2.1.

4.3.2.2 should NOT be tested as part of testGetResourceAcceptTurtle, but should be tested in another [SHOULD] test.

4.3.2.1 LDP servers MUST respond with a Turtle representation of the requested LDP-RS when the request includes an Accept header specifying text/turtle, unless HTTP content negotiation requires a different outcome. http://www.w3.org/TR/ldp/#ldprs-get-turtle

4.3.2.2 LDP servers SHOULD respond with a text/turtle representation of the requested LDP-RS whenever the Accept request header is absent. http://www.w3.org/TR/ldp/#h5_ldprs-get-conneg