Branch: refs/heads/master
Home: https://github.com/openSUSE/osc2
Commit: 6bf81165e426bb9fbf479d2cbbecf58010ac918d
https://github.com/openSUSE/osc2/commit/6bf81165e426bb9fbf479d2cbbecf58010ac...
Author: Marcus Huewe
Date: 2015-05-30 (Sat, 30 May 2015)
Changed paths:
M test/httptest.py
Log Message:
-----------
- test.httptest: added support for checking the presence/absence of headers
Commit: 9bf56008aee705607e94183e61dff8774eba1455
https://github.com/openSUSE/osc2/commit/9bf56008aee705607e94183e61dff8774eba...
Author: Marcus Huewe
Date: 2015-05-30 (Sat, 30 May 2015)
Changed paths:
M test/httptest.py
Log Message:
-----------
- test.httptest: added support for testing https requests
Commit: 171c7c32df37a965a8ba1e74d551ce9dee855b3f
https://github.com/openSUSE/osc2/commit/171c7c32df37a965a8ba1e74d551ce9dee85...
Author: Marcus Huewe
Date: 2015-05-30 (Sat, 30 May 2015)
Changed paths:
M test/test_httprequest.py
A test/test_httprequest_fixtures/cookie
Log Message:
-----------
- test.test_httprequest: added testcases for the new default basic auth handler
The new default basic auth handler always sends the credentials.
See also https://github.com/openSUSE/osc2/pull/22
Additionally, testcases were added that demonstrate how to restore the
old behavior (that is sending the credentials only when a 401 is
encountered).
Commit: a2a145a898b78513049d51382e8c9e3b3bb1997e
https://github.com/openSUSE/osc2/commit/a2a145a898b78513049d51382e8c9e3b3bb1...
Author: Marcus Huewe
Date: 2015-05-30 (Sat, 30 May 2015)
Changed paths:
M osc2/httprequest.py
Log Message:
-----------
- httprequest: added new default basic auth handler
The new default basic auth handler always sends the credentials.
See also https://github.com/openSUSE/osc2/pull/22
Yet, it is still possible to restore/use the old basic auth handler
(see e.g. test.test_httprequest.test_external_basic_auth_handler1
(commit 171c7c32df37a965a8ba1e74d551ce9dee855b3f)).
Additionally, introduced the concept of a "credentials manager"
(inspired by urllib2.HTTPPasswordMgr). Currently, the only concrete
implementation is the Urllib2SingleCredentialsManager, which is
basically just an urllib2.HTTPPasswordMgrWithDefaultRealm. Later,
we could add additional managers for gnome-keyring, keyring etc.
Compare: https://github.com/openSUSE/osc2/compare/fec7285c8514...a2a145a898b7