Thank you, that's perfect.
Jim
stefan kersten-2 wrote:
On 16.11.2007, at 13:55, Jim Burton wrote:
The docs say Should be of the form http://host:port, host,
host:port, or
http://host; but none of the variations work. Any ideas where I
might find
an example of code that does this?
On 16.11.2007, at 13:55, Jim Burton wrote:
The docs say Should be of the form http://host:port, host,
host:port, or
http://host; but none of the variations work. Any ideas where I
might find
an example of code that does this?
this works for me (modulo error handling):
simpleHTTP' ::
Justin Bailey wrote:
I think it needs to be a real URL:
setProxy (Proxy http://myproxy:80; Nothing)
Justin
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
The docs say
On Nov 15, 2007 9:01 AM, Jim Burton [EMAIL PROTECTED] wrote:
How would I go about converting the little get program at
http://darcs.haskell.org/http/test/get.hs to use a proxy server? I tried
adding a call to setProxy like this but it doesn't work:
I think it needs to be a real URL:
How would I go about converting the little get program at
http://darcs.haskell.org/http/test/get.hs to use a proxy server? I tried
adding a call to setProxy like this but it doesn't work:
get :: URI - IO String
get uri =
do
browse $ setProxy (Proxy myproxy:80 Nothing)
eresp -