mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
fix(headers): fix getSetCookie by using 'get' method for caseless access; (#6874)
This commit is contained in:
@@ -249,7 +249,7 @@ class AxiosHeaders {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getSetCookie() {
|
getSetCookie() {
|
||||||
return this["set-cookie"] || [];
|
return this.get("set-cookie") || [];
|
||||||
}
|
}
|
||||||
|
|
||||||
get [Symbol.toStringTag]() {
|
get [Symbol.toStringTag]() {
|
||||||
|
|||||||
Reference in New Issue
Block a user