Skip to content

Redirect behaviour #257

Open
Open
@TimoKramer

Description

Hi,

I am using cljs-ajax on a CLJ-project. I am requesting something from an API and it should return a 307 temporary redirect. The redirect location does return a url that does not accept the authentication headers that I needed for the original request. So I want to get the answer back extract the location and start a new request without the headers.

It seems to me that cljs-ajax does automatically resolve the redirect. Is this correct?
How can I avoid that?

Thanks!

Activity

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

Metadata

Assignees

No one assigned

    Labels

    Integration Test Improvement NeededWe need to improve the integration tests to be able to test for this scenario

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions