-
-
Notifications
You must be signed in to change notification settings - Fork 11k
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
Why withCredentials
default can't be overwritten?
#343
Comments
I want to overwrite it too! |
This may be a false assumption, but the rationale is that you don't want someone to accidentally override |
At least this logic conflicts with docs config-order-of-precedence
it verbose enough to understand what do you do. So my proposal is to discard this rule. |
Is there any update about this issue?I also want to overwrite the withcredential option for some specific request which withcredential will lead to unprocessable error.But I just couldn't make it,so I am just wondering whether this issue is the reason? |
Why
withCredentials
default can't be overwritten for particular request?For example, website working generally with API from another domain and all this requests requires cookies so we set
withCredentials
default totrue
for convenience .But some requests need to be fulfilled to another domain, for example
githib.com
.So it is not possible to overwrite
withCredentials
tofalse
because of this line of codeWhat the reason for such behavior?
The text was updated successfully, but these errors were encountered: