ag12
1
http://code.kx.com/wiki/DotQ/DotQDothg
If the http proxy has a port # associated with it, will this work in q? or does HTTP_PROXY only expect a url and not a port # e.g. proxy.company.com
bash$export HTTP_PROXY="proxy.company.com:912"q).Q.hg
$“www.google.com”'domain [0] .Q.hg$"www.google.com" ^
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #000000; background-color: #ffffff}span.s1 {font-variant-ligatures: no-common-ligatures}
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #000000; background-color: #ffffff}
span.s1 {font-variant-ligatures: no-common-ligatures}
sohagan
2
Hi ag,
ensure you prefix the proxy with http://
ensure you prefix the url with http://
ensure your url is hsym’ed (prefixed with :) $"www.google.com" should be
$“:www.google.com”
ports will work fine
e.g.
q).Q.hg`:http://www.google.com
'www.google.com. OS reports: No route to host
q)setenv[`http_proxy]“user:pass@proxy.com:port/”
q).Q.hg`:http://www.google.com
'domain
q)setenv[`http_proxy]“http://user:pass@proxy.com:port/”
q).Q.hg`:http://www.google.com
"<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=ut..
HTH,
Sean