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 <alex.syrel@gmail.com> wrote:

Hello,

I am trying to download a file from bintray with the help of ZnClient.
I'm doing the following:

ZnClient new
   systemPolicy;
   get;
   yourself

which results in Error 403.

At the same time wget works as expected:


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