Closed guibwl closed 8 months ago
Some registries will redirect and return with 302;
It will cause corepack error;
Internal Error: Server answered with HTTP 302
This PR helps redirections supported when a request responds with a 302 or 301 status code.
Associated with: https://github.com/nodejs/corepack/issues/302 https://github.com/nodejs/corepack/issues/336
Can we add tests?
Sure, let me add some.
done
@aduh95 Hi, can I ask when will this feature be released?
Some registries will redirect and return with 302;
It will cause corepack error;
This PR helps redirections supported when a request responds with a 302 or 301 status code.
Associated with:
https://github.com/nodejs/corepack/issues/302 https://github.com/nodejs/corepack/issues/336