fix(core): accept header not working (#14961)

This commit is contained in:
Tony
2024-03-26 03:02:47 +08:00
committed by GitHub
parent 607a9455e2
commit 6e53d7263c
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ const requestWrapper = (url: string, options: http.RequestOptions = {}) => {
}
// Accept
if (!headersLowerCaseKeys.has('Accept')) {
if (!headersLowerCaseKeys.has('accept')) {
options.headers.Accept = '*/*';
}