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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bc9e08-309cd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bc9e08-309cd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?