external proxy support authentication (#303)

This commit is contained in:
wanghongenpin
2024-09-11 23:42:04 +08:00
parent 3f36f132f5
commit 5979bd5c7e
22 changed files with 239 additions and 82 deletions

View File

@@ -47,7 +47,6 @@ bool processCookies(StringBuffer py, List<String> headers) {
for (String header in headers) {
if (header.toLowerCase().startsWith("cookie:")) {
py.write('cookies = {\n');
print(header);
var cookies = header.substring(9, header.length - 1).trim().split(';');
for (var cookie in cookies) {
var parts = cookie.split('=');