issue #7 resp.req could be undefined (refer resp.url)

refers resp.url in addition to resp.req.url