When trying to determine whether the request is cross-domain, check the request url instead of options.uri which might be set to something else
When trying to determine whether the request is cross-domain, check the request url instead of options.uri which might be set to something else

then/then-request,then/then-request