From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <398e2886ff265a8839050c31589508d0@felloff.net> References: <398e2886ff265a8839050c31589508d0@felloff.net> Date: Fri, 13 Feb 2015 10:59:51 +0100 Message-ID: From: Giacomo Tesio To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>, 9front@9front.org Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] telnet to port (and webfs debug) Topicbox-Message-UUID: 44645d72-ead9-11e9-9d60-3106f5b1d025 Ok fixed. The problem was plain stupid: I did not prepended "http://" to httpproxy, setting it to just proxy:port. However, I noted that webfs -d option is not documented. Nor is the need to prepend http:// to httpproxy (I suppose however that this could be taken as default). Whenever I'll find my way to acme and plan9 I'll send you a patch... Thanks you all for your help! Giacomo 2015-02-13 10:11 GMT+01:00 : > heres how it should look like (tuttle.9hal:8888 is my proxy servr): > > term% httpproxy=http://tuttle.9hal:8888 webfs -d; hget http://google.com > clientctl: url http://google.com > http(0): GET http://google.com/ > hdial [1] tcp!tuttle.9hal!8888 > -> GET http://google.com/ HTTP/1.1 > Host: google.com > User-Agent: Mozilla/5.0 (compatible; hjdicks) > Connection: keep-alive > Referer: http://google.com/ > Accept: */* > > <- HTTP/1.1 302 Found > > -- > cinap >