Skip to content

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

@nick-gray

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!!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions