http_open vs. http_get using proxy



Hello All,

I am using the little test program below to make sure I get past my
proxy. The first one works and the second one doesnt.

Anybody have any ideas about what I am doing wrong?

Thanks in Advance!
Mans
P.S.
I am running 5.6.0 on WindowsXP.

------------------



:- use_module(library('http/http_client')).
:- use_module(library('http/http_sgml_plugin')).
:- use_module(library('http/http_open')).

runit :-
http_open('http://www.google.com', In,[proxy('11.0.0.5',80)]),
copy_stream_data(In, user_output),
close(In).

testit :-
http_get('http://www.google.com', Response, [proxy('11.0.0.5',80)]),
write(Response).

.



Relevant Pages

  • Re: http_open vs. http_get using proxy
    ... > I am using the little test program below to make sure I get past my ... > proxy. ... Prev by Date: ...
    (comp.lang.prolog)
  • Re: Proxy settings
    ... do you know how to enable the 'proxy bypass' setting in the ... look in my registry at the ... Settings\ProxyByPass' key but it doesnt change wehen I change me internet ... > Function EnableProxy() ...
    (microsoft.public.scripting.wsh)