I’m not sure if this is related - but the Pharo6 image is missing a ZnConstant 
initialise, and I recall redirect was one of the error codes missing. Possibly 
re-initialising ZnConstants might fix your problem?

Tim

> On 14 Jul 2017, at 12:02, Aliaksei Syrel <[email protected]> wrote:
> 
> Hello,
> 
> I am trying to download a file from bintray with the help of ZnClient.
> I'm doing the following:
> 
> ZnClient new
>    systemPolicy;
>    url: 
> 'https://dl.bintray.com/syrel/Moz2D/osx/development/i386/libMoz2D.dylib 
> <https://dl.bintray.com/syrel/Moz2D/osx/development/i386/libMoz2D.dylib>';
>    get;
>    yourself
> 
> which results in Error 403.
> 
> At the same time wget works as expected:
> 
> wget https://dl.bintray.com/syrel/Moz2D/osx/development/i386/libMoz2D.dylib 
> <https://dl.bintray.com/syrel/Moz2D/osx/development/i386/libMoz2D.dylib>
> 
> Trying to open this url in a browser works too.
> 
> I tried to find out what may cause the error and it looks like it is 
> something related to redirects because request and response headers look 
> good...
> 
> Thanks,
> Alex

Reply via email to