Skip to content

Redirect from webdav server for domain alias - how to add Authorization header #311

Description

@nick-gray

We are receiving a 302 redirect from a webdav server to another domain and axios does not (for good reasons) automatically pass the Authorization header to the redirect url.

Normally we'd disable axios from following the redirect. We could just make the specific get file/stream request using axios direct but for consistency was hoping to keep using webdav-client.

Any suggestions?

PS: this library is awesome @perry-mitchell!!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions