Skip to content

correctly handle redirects on bundle upload #4262

Description

@christierney

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.

Metadata

Metadata

Assignees

Labels

communityIssues with external community involvement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions