The axios force setting header is invalid?

the code is as follows

async function request(data) {
  const response = await axios({
    method: "POST",
    url: config.apiUrl,
    headers: { "Content-Type": "application/x-www-form-urlencoded; charset=GBK" },
    data,
    // 
    responseType: "arraybuffer", // default
  });
  return response.data;
}

but the actual request still becomes" application/x-www-form-urlencoded; charset=UTF-8"

.

clipboard.png

is there any way to force no change

Feb.27,2021

https://github.com/axios/axio.
looks at this


can't it be invalid? is it changed by other places


axios can't find a way? instead, fetch solves


I set the parameter in main.js,-instantiate-one axios, is effective

Menu