Issue #2 new

Superfluous arguments to HTTPSHandler.__init__?

Dariusz Suchojad
created an issue

I've attached an SSL client which works fine in the sense that it can connect to a server and receive the response, however what I don't really understand is why it's needed to pass so many arguments to pyhttprpc.client.ssl.https_handler that are apparently ignored somewhere along the code and end up being warned about

/home/dsuch/tmp/pyhttprpc-hg/pyhttprpc/init.py:79: UserWarning: Unrecognized option "cert_req" warn('Unrecognized option "%s"' % opt) /home/dsuch/tmp/pyhttprpc-hg/pyhttprpc/init.py:79: UserWarning: Unrecognized option "host" warn('Unrecognized option "%s"' % opt) /home/dsuch/tmp/pyhttprpc-hg/pyhttprpc/init.py:79: UserWarning: Unrecognized option "ca_certs" warn('Unrecognized option "%s"' % opt) /home/dsuch/tmp/pyhttprpc-hg/pyhttprpc/init.py:79: UserWarning: Unrecognized option "port" warn('Unrecognized option "%s"' % opt)

I'm also not sure what the intended purpose of those client SSL arguments - is there any chance you could briefly explain them?

Cheers!

Comments (0)

  1. Log in to comment