python-jenkins-developers team mailing list archive
-
python-jenkins-developers team
-
Mailing list archive
-
Message #00489
[Bug 1716071] Change abandoned on python-jenkins (master)
Change abandoned by Sorin Sbarnea (ssbarnea@xxxxxxxxxx) on branch: master
Review: https://review.openstack.org/507688
Reason: Current versions works well without this change.
--
You received this bug notification because you are a member of Python
Jenkins Developers, which is subscribed to Python Jenkins.
https://bugs.launchpad.net/bugs/1716071
Title:
quiet_down requires POST request
Status in Python Jenkins:
In Progress
Bug description:
Jenkins appears to require that quietDown be submitted as a POST request, rather than a GET request. If I attempt to call quiet_down() now, I get the following:
urllib.error.HTTPError: HTTP Error 405: Method Not Allowed
Opening the same URL in wget or my browser delivers a prompt to try again as a POST request.
If I force the request to be done as a POST, the call succeeds and functions as expected.
The fix should be reproducible by modifying line 1641 in __init__.py to:
request = Request(self._build_url(QUIET_DOWN), method='POST')
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1716071/+subscriptions
References