← Back to team overview

python-jenkins-developers team mailing list archive

[Bug 1716071] Re: quiet_down requires POST request

 

** Changed in: python-jenkins
     Assignee: (unassigned) => Nick Stones-Havas (drdanick)

-- 
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:
  New

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