Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I set mode for fetch? #56

Open
chienpingtsung opened this issue Apr 19, 2018 · 1 comment
Open

How can I set mode for fetch? #56

chienpingtsung opened this issue Apr 19, 2018 · 1 comment

Comments

@chienpingtsung
Copy link

the customized header cannot support mode like
configureHeaders(headers) { return { ...headers, mode: 'no-cors' } }
how can i change fetch mode there

@dlikhten
Copy link

Really late response (lol 1 year later). If you look at https://github.com/cantierecreativo/redux-bees/blob/master/src/httpMethods.js#L26 you can see that the http method can take options, which will allow you to override mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants