To support streaming of large bundles, we had to disable Axios' automatic following of redirects. (#4249)
I believe prior to 2.0.0, publisher did not handle redirects (#18, #2372), and as far as I know we have not done specific testing of redirect handling with 2.x. However, this is still arguably a regression.
Other Connect clients have added custom redirect handling:
We should investigate whether something similar would work here.
For bundle uploads specifically, we should start a new stream from disk every time we make an upload request; we must not buffer the bundle in memory nor drop the POST body on retry.
To support streaming of large bundles, we had to disable Axios' automatic following of redirects. (#4249)
I believe prior to 2.0.0, publisher did not handle redirects (#18, #2372), and as far as I know we have not done specific testing of redirect handling with 2.x. However, this is still arguably a regression.
Other Connect clients have added custom redirect handling:
We should investigate whether something similar would work here.
For bundle uploads specifically, we should start a new stream from disk every time we make an upload request; we must not buffer the bundle in memory nor drop the POST body on retry.