We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a84397 commit cd1a931Copy full SHA for cd1a931
1 file changed
test/http.js
@@ -219,6 +219,12 @@ describe('HTTP APIs', function () {
219
})
220
.expect(200, done) // Can't check for 303 because of internal redirects
221
222
+ it('should NOT load skin (mashlib) if resource is not RDF', function (done) {
223
+ server.get('/sampleContainer/solid.png')
224
+ .set('Accept', 'text/html')
225
+ .expect('content-type', /image\/png/)
226
+ .expect(200, done)
227
+ })
228
it('should redirect to defaultApp if container was requested as text/html', function (done) {
229
server.get('/sampleContainer/')
230
.set('Accept', 'text/html')
0 commit comments