From 9df2cd3df7d02b883a48761440a899b2599ff905 Mon Sep 17 00:00:00 2001 From: Gabriel Quaresma Date: Tue, 7 Apr 2026 14:55:58 -0300 Subject: [PATCH] chore: add Location to CommonRequestHeadersList types (#7528) Co-authored-by: Jay --- index.d.cts | 3 ++- index.d.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/index.d.cts b/index.d.cts index 4c953a02..918cb08f 100644 --- a/index.d.cts +++ b/index.d.cts @@ -20,7 +20,8 @@ type CommonRequestHeadersList = | 'Content-Length' | 'User-Agent' | 'Content-Encoding' - | 'Authorization'; + | 'Authorization' + | 'Location'; type ContentType = | axios.AxiosHeaderValue diff --git a/index.d.ts b/index.d.ts index e9bdcd75..300eb7c5 100644 --- a/index.d.ts +++ b/index.d.ts @@ -132,7 +132,8 @@ type CommonRequestHeadersList = | "Content-Length" | "User-Agent" | "Content-Encoding" - | "Authorization"; + | "Authorization" + | "Location"; type ContentType = | AxiosHeaderValue