Skip to content

0.2.9

Compare
Choose a tag to compare
@zackify zackify released this 23 Feb 22:38
· 5 commits to master since this release

Cancel rest of request after headers are sent back, ex on a 401 redirect

await request`
  url: https://freegeoip.net/json/github.com
  onResponse: ${response => {
    expect(response.headers.get('content-type')).to.equal('application/json')
    return true
  }}
`