]> 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:01:06 +0000 (18:01 +0000)
commit0bcb1bf6466461043bcb84c4856166105d5d5738
treeee21d2b605909c78cd07c93641c08beec8a425a7
parenteda57a915378de582ed3e8c3a0ac5c4d800bba74
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>
patchwork/bin/pwclient