lib.request: resolve(xhr)