fix(core): accept header not working (#14961)
This commit is contained in:
@@ -60,7 +60,7 @@ const requestWrapper = (url: string, options: http.RequestOptions = {}) => {
|
||||
}
|
||||
|
||||
// Accept
|
||||
if (!headersLowerCaseKeys.has('Accept')) {
|
||||
if (!headersLowerCaseKeys.has('accept')) {
|
||||
options.headers.Accept = '*/*';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user