]> git.ipfire.org Git - thirdparty/patchwork.git/commit
pwclient: Rework HTTP authentication
authorThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 13 Dec 2016 10:37:45 +0000 (11:37 +0100)
committerStephen Finucane <stephen@that.guru>
Tue, 13 Dec 2016 18:06:49 +0000 (18:06 +0000)
commit3141f749ba3719622f2405f759c59a82650b121e
tree96cb50eb0b65f8c97132e12539275954f12b1ee2
parent424617b972def5a807d10b10739ec728a4ce3cfb
pwclient: Rework HTTP authentication

Transform the HTTP authentication class into a generic transport class.
The credentials become optional so this transport class is always used.

A side effect is to fix the Python 3 support for the authentication.
Fixes #59

It will help to bring proxy support while combining http/https and
authentication cases.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Reviewed-by: Stephen Finucane <stephen@that.guru>
(cherry picked from commit 0bcb1bf6466461043bcb84c4856166105d5d5738)
patchwork/bin/pwclient