客户端版本:iOS Surge 4.3.2 与Mac Surge 3.5.2
http-response http://.....aspx script-path=./scripts/demo.js,requires-body=true,max-size=-1
脚本执行到$done({body})的时候异常
18:51:30.338453 TCP connection established
18:51:30.448594 Response is modified by script
18:51:30.448682 Disconnect with reason: Closed by remote (Socket closed by remote peer)
Mac response header Content-Type: text/html; charset=utf-8
,实际报文是一段普通文本,而非html,不知道iOS是否校验了Content-Type导致异常。
iOS某个老版的Surge应该是没问题的,不小心升级到4.3.2
补充:
Mac 升级到3.5.5 也异常了。请问用户脚本需要如何调整?