Skip to content

Commit 777d037

Browse files
committed
add GET accept-post test
1 parent 399308c commit 777d037

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/integration/header-test.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,16 @@ describe('Header handler', () => {
4040
})
4141
})
4242

43+
describe('Accept-Post', () => {
44+
describeHeaderTest('read/append for the public', {
45+
resource: '/public-ra',
46+
headers: {
47+
'Accept-Post': '*/*',
48+
'Access-Control-Expose-Headers': /(^|,\s*)Accept-Post(,|$)/
49+
}
50+
})
51+
})
52+
4353
describe('WAC-Allow', () => {
4454
describeHeaderTest('read/append for the public', {
4555
resource: '/public-ra',

0 commit comments

Comments
 (0)