Scan the QR code to connect to multiple IPs and prioritize them

This commit is contained in:
wanghongenpin
2024-09-14 01:26:24 +08:00
parent eef651d286
commit 71daf8fb6b
9 changed files with 95 additions and 62 deletions

View File

@@ -353,6 +353,13 @@ async function onResponse(context, request, response) {
}
request.headers.add(key, value);
});
//判断是否是二进制
if (getListElementType(map['body']) == int) {
request.body = convertList<int>(map['body']);
return request;
}
request.body = map['body']?.toString().codeUnits;
if (request.body != null && request.charset == 'utf-8') {