2
0
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:
Dmitriy Mozgovoy
2025-04-14 22:38:27 +03:00
committed by GitHub
parent 1b1f9ccdc1
commit d4f7df4b30
+1 -1
View File
@@ -249,7 +249,7 @@ class AxiosHeaders {
}
getSetCookie() {
return this["set-cookie"] || [];
return this.get("set-cookie") || [];
}
get [Symbol.toStringTag]() {