Skip to content

Commit

Permalink
add GET accept-post test
Browse files Browse the repository at this point in the history
  • Loading branch information
bourgeoa committed Feb 5, 2024
1 parent 399308c commit 777d037
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/integration/header-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ describe('Header handler', () => {
})
})

describe('Accept-Post', () => {
describeHeaderTest('read/append for the public', {
resource: '/public-ra',
headers: {
'Accept-Post': '*/*',
'Access-Control-Expose-Headers': /(^|,\s*)Accept-Post(,|$)/
}
})
})

describe('WAC-Allow', () => {
describeHeaderTest('read/append for the public', {
resource: '/public-ra',
Expand Down

0 comments on commit 777d037

Please sign in to comment.