Skip to content

Commit 6f6ce99

Browse files
committed
test: change test headers
1 parent f4979d8 commit 6f6ce99

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/rs.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,11 @@ describe('test start bucket manager', function() {
128128

129129
bucketManager.changeHeaders(bucket, key, {
130130
'Content-Type': 'text/plain',
131-
'Cache-Control': 'public, max-age=31566000',
131+
'Last-Modified': 'Wed, 21 Oct 2015 07:28:00 GMT',
132+
'x-qn-test-custom-header': '0',
132133
},
133134
function (err, respBody, respInfo) {
135+
console.log(respInfo);
134136
should.not.exist(err);
135137
assert.equal(respInfo.statusCode, 200);
136138
done();

0 commit comments

Comments
 (0)