Closed tomjun closed 9 years ago
spdycat does not support proxy.
I would like to monitor my spdy proxy working,Do you have any suggest?thank you.
------------------ 原始邮件 ------------------ 发件人: "Tatsuhiro Tsujikawa"notifications@github.com; 发送时间: 2014年8月21日(星期四) 凌晨1:04 收件人: "tatsuhiro-t/spdylay"spdylay@noreply.github.com; 抄送: "悟空"83345748@qq.com; 主题: Re: [spdylay] does spdycat support login proxy? (#119)
spdycat does not support proxy.
— Reply to this email directly or view it on GitHub.
I forget that spdycat has SPDY proxy support. You can use --proxy=
Yes, But the proxy need login(http basic authentication) ,I don't know how to give spdycat username and password?
------------------ 原始邮件 ------------------ 发件人: "Tatsuhiro Tsujikawa"notifications@github.com; 发送时间: 2014年8月21日(星期四) 晚上8:29 收件人: "tatsuhiro-t/spdylay"spdylay@noreply.github.com; 抄送: "悟空"83345748@qq.com; 主题: Re: [spdylay] does spdycat support login proxy? (#119)
I forget that spdycat has SPDY proxy support. You can use --proxy= and --proxy-port= to specify SPDY proxy address and port respectively.
— Reply to this email directly or view it on GitHub.
Use -H option to specify authorization header field. http://tools.ietf.org/html/rfc2617#section-2
If you have user name "Aladdin" and password "open sesame", concatenate them with ":" ("Aladdin:open sesame") and base64-encode that string ("QWxhZGRpbjpvcGVuIHNlc2FtZQ=="). Now pass it using -H option like this:
-H 'Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ=='
I'm trying but get the error:
Cache Access Denied.
Sorry, you are not currently allowed to request:
http://www.whatismyip.com/from this cache until you have authenticated yourself.
You need to use Netscape version 2.0 or greater, or Microsoft Internet Explorer 3.0, or an HTTP/1.1 compliant browser for this to work.
------------------ 原始邮件 ------------------ 发件人: "Tatsuhiro Tsujikawa"notifications@github.com; 发送时间: 2014年8月21日(星期四) 晚上10:46 收件人: "tatsuhiro-t/spdylay"spdylay@noreply.github.com; 抄送: "悟空"83345748@qq.com; 主题: Re: [spdylay] does spdycat support login proxy? (#119) Use -H option to specify authorization header field. http://tools.ietf.org/html/rfc2617#section-2 If you have user name "Aladdin" and password "open sesame", concatenate them with ":" ("Aladdin:open sesame") and base64-encode that string ("QWxhZGRpbjpvcGVuIHNlc2FtZQ=="). Now pass it using -H option like this: -H 'Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==' — Reply to this email directly or view it on GitHub.I was wrong, proxy-authorization should be used instead of authorization.
wow!it's working now,thank you!
------------------ 原始邮件 ------------------ 发件人: "Tatsuhiro Tsujikawa"notifications@github.com; 发送时间: 2014年8月21日(星期四) 晚上11:22 收件人: "tatsuhiro-t/spdylay"spdylay@noreply.github.com; 抄送: "悟空"83345748@qq.com; 主题: Re: [spdylay] does spdycat support login proxy? (#119)
I was wrong, proxy-authorization should be used instead of authorization.
— Reply to this email directly or view it on GitHub.
Hi,I'm trying use spdycat connect a proxy need login,I search in the document but not found a way.