[Pharo-project] 1.3-Core

Sven Van Caekenberghe sven at beta9.be
Thu May 12 23:02:49 CEST 2011


On 12 May 2011, at 22:50, Alexandre Bergel wrote:

>> This probably has something to do with Zn now being used for HTTP, proxies should be supported, but I have not tested them myself.
> 
>> 
>> Can you try a simple thing like:
>> 
>> 	ZnClient get: 'http://zn.stfx.eu/zn/small.html'
> 
> It returns: 
> a ZnResponse(400 Bad Request text/html 3181B)

Can you send me the #contents of that ? It should be a 3Kb HTML doc that hopefully explains why your proxy server thinks the request is not OK.

>> Have a look at ZnNetworkingUtils class>>#socketStreamToUrl:
>> Does this make the right decision in your setup ?
> 
> Yes it does. ZnNetworkingUtils isProxySet  => true

What are your proxy settings ? Just a hostname and a port ?





More information about the Pharo-project mailing list