When Proxy is set up in Pharo and user attempts to connect using HTTP instead of HTTPS, it ends up with error where ZnUrl>>#printAuthorityOn: attempts to send message print: to ZnBivalentWriteStream that does not have that method.
I do not use Proxy myself, just forwarding the info. It can be somehow simulated if you replace condition on proxy in ZnRequestLine>>#writeOn: by hardcoded true.
Tested in Pharo 10 and 12 on Windows.
Note that the code works when I replace http:// by https://.
When Proxy is set up in Pharo and user attempts to connect using HTTP instead of HTTPS, it ends up with error where
ZnUrl>>#printAuthorityOn:
attempts to send messageprint:
toZnBivalentWriteStream
that does not have that method.I do not use Proxy myself, just forwarding the info. It can be somehow simulated if you replace condition on proxy in
ZnRequestLine>>#writeOn:
by hardcodedtrue
.Tested in Pharo 10 and 12 on Windows.
Note that the code works when I replace
http://
byhttps://
.