You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, url.parse(this.request.url()) is not equal to new URL(this.request.url()). So changing this might not necessarily be as trivial as that (which is also confirmed by breaking the spec spec/node/gateway/http.spec.js).
{
urlParse: Url{auth: null,hash: null,host: 'example.org',hostname: 'example.org',href: 'http://example.org/api/examples.json'path: '/api/examples.json',pathname: '/api/examples.json',port: null,protocol: 'http:',query: null,search: null,slashes: true,},// missing keys: auth (which is used), hash, path (which is used), query (which is used)// new keys: origin, password, searchParams, usernamenewUrl: URL{hash: ''// used to be nullhost: 'example.org',hostname: 'example.org',href: 'http://example.org/api/examples.json',origin: 'http://example.org',password: '',pathname: '/api/examples.json',port: '',// used to be nullprotocol: 'http:',search: '',// used to be nullsearchParams: URLSearchParams{},username: '',}}
The text was updated successfully, but these errors were encountered:
There is a FIXME in
src/gateway/http.js
However,
url.parse(this.request.url())
is not equal tonew URL(this.request.url())
. So changing this might not necessarily be as trivial as that (which is also confirmed by breaking the specspec/node/gateway/http.spec.js
).The text was updated successfully, but these errors were encountered: