mirror of
https://github.com/d0zingcat/cors-anywhere.git
synced 2026-05-13 23:16:51 +00:00
@@ -114,6 +114,11 @@ nock('http://example.com')
|
||||
.get('/redirectwithoutlocation')
|
||||
.reply(302, 'maybe found')
|
||||
|
||||
.get('/redirectinvalidlocation')
|
||||
.reply(302, 'redirecting to junk...', {
|
||||
Location: 'http:///',
|
||||
})
|
||||
|
||||
.get('/proxyerror')
|
||||
.replyWithError('throw node')
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user