Closed linkaka970105 closed 1 year ago
开启http代理后,linux terminal配置了相应的http代理,通过curl http://www.google.com 测试,返回错误“file not found, 请输入正确的url%”,看了源代码,不太理解def __deal_request函数下f = open(ret[1:], "rb")的打开文件的操作是想做什么,根据请求切分后的路径打开文件,这个文件大概率不存在呀,作为http代理不是帮忙代理转发相应的请求,然后将请求结果返回就好了吗,大佬有空的话帮忙解答下哈
类似的问题,我这边返回 HTTP code 404
HTTP code 404
Do not support http proxy. Only socks5 proxy
开启http代理后,linux terminal配置了相应的http代理,通过curl http://www.google.com 测试,返回错误“file not found, 请输入正确的url%”,看了源代码,不太理解def __deal_request函数下f = open(ret[1:], "rb")的打开文件的操作是想做什么,根据请求切分后的路径打开文件,这个文件大概率不存在呀,作为http代理不是帮忙代理转发相应的请求,然后将请求结果返回就好了吗,大佬有空的话帮忙解答下哈