SwitchyOmega icon indicating copy to clipboard operation
SwitchyOmega copied to clipboard

https代理不会带上Proxy-Authorization

Open xxxsen opened this issue 5 years ago • 6 comments

SwitchyOmega version / SwitchyOmega 版本

2.5.20

Browser version & OS version / 浏览器名称、版本及操作系统版本

浏览器版本 版本 78.0.3904.108(正式版本) (64 位) 操作系统 debian 10

Problem description / 问题描述

配置了https代理的用户名密码后, 浏览器发起请求并不会带上 Proxy-Authorization 请求头

Steps to reproduce issue / 重现错误所需步骤

(What did you do? / 你做了什么?)

  1. 填写https代理的用户名密码选项
  2. 设置某个页面的代理为https代理
  3. 刷新页面

Expected behavior / 期望发生的情况

请求头中带上Proxy-Authorization

Actual (or suggested) behavior / 实际发生的情况(或建议修改后的行为)

并没有带上相应的请求头

xxxsen avatar Dec 08 '19 05:12 xxxsen

参考这个 issue https://github.com/FelisCatus/SwitchyOmega/issues/560 当 server 返回 407 之后就会带上Proxy-Authorization

zxc111 avatar Dec 09 '19 10:12 zxc111

很多时候https代理都不想别人知道这是一个代理,所以有没办法配置之后就直接带上,而不是等407呢?

On Mon, Dec 9, 2019, 6:06 PM zxc111 [email protected] wrote:

参考这个 issue https://github.com/FelisCatus/SwitchyOmega/issues/560 http://url 当 server 返回 407 之后就会带上Proxy-Authorization

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/FelisCatus/SwitchyOmega/issues/1936?email_source=notifications&email_token=AA5TKVDTDHP6PZN22AQMFTDQXYKB3A5CNFSM4JXXIYZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGIRV7Y#issuecomment-563157759, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5TKVFR5E2OGP3NGIQGUJ3QXYKB3ANCNFSM4JXXIYZQ .

xxxsen avatar Dec 09 '19 10:12 xxxsen

目前来看至少SwitchyOmega不行,或者有什么特别的技巧我没有掌握.... 可以尝试修改下源码 不过这个说 #2 似乎已经实现了

zxc111 avatar Dec 09 '19 10:12 zxc111

server 返回 407 还是一样, 后续不会继续请求. 代理是有效的, 我设置 https_proxy使用 curl chrome 和 firefox 都一样

wzshiming avatar Feb 04 '20 15:02 wzshiming

server 返回 407 还是一样, 后续不会继续请求. 代理是有效的, 我设置 https_proxy使用 curl chrome 和 firefox 都一样

+1

erichuang1994 avatar Apr 22 '20 08:04 erichuang1994

我现在测试是http proxy都没有了。。。

minofmax avatar Feb 21 '22 15:02 minofmax