mirror of
https://github.com/d0zingcat/cors-anywhere.git
synced 2026-06-04 07:26:47 +00:00
Test that redirect headers are not set in response
This commit is contained in:
@@ -59,6 +59,7 @@ nock('http://example.com')
|
||||
|
||||
.get('/redirect')
|
||||
.reply(302, 'redirecting...', {
|
||||
'header at redirect': 'should not be here',
|
||||
'Location': '/redirecttarget'
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user