mirror of
https://github.com/tenrok/axios.git
synced 2026-05-15 11:59:42 +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() {
|
||||
return this["set-cookie"] || [];
|
||||
return this.get("set-cookie") || [];
|
||||
}
|
||||
|
||||
get [Symbol.toStringTag]() {
|
||||
|
||||
Reference in New Issue
Block a user