http_open vs. http_get using proxy
- From: "mans" <mshapshak@xxxxxxxxx>
- Date: 10 Jan 2006 13:18:59 -0800
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).
.
- Follow-Ups:
- Re: http_open vs. http_get using proxy
- From: Jan Wielemaker
- Re: http_open vs. http_get using proxy
- Prev by Date: Re: for loop in prolog
- Next by Date: Re: http_open vs. http_get using proxy
- Previous by thread: for loop in prolog
- Next by thread: Re: http_open vs. http_get using proxy
- Index(es):
Relevant Pages
|