[Bug 1401544] Update Released
Colin Watson
cjwatson at canonical.com
Thu Dec 18 17:31:10 UTC 2014
The verification of the Stable Release Update for lazr.restfulclient has
completed successfully and the package has now been released to
-updates. Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report. In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regressions.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lazr.restfulclient in Ubuntu.
https://bugs.launchpad.net/bugs/1401544
Title:
lazr.restfulclient using lowercase get in HTTP request
Status in lazr.restfulclient:
Fix Released
Status in lazr.restfulclient package in Ubuntu:
Fix Released
Status in lazr.restfulclient source package in Lucid:
Fix Released
Status in lazr.restfulclient source package in Precise:
Fix Released
Bug description:
http://tools.ietf.org/html/rfc2616#section-5.1.1 specifies that
methods in HTTP are case sensitive.
Some server implementations may be graceful about this (e.g. apache),
others may enforce the specification.
All the other methods are written in uppercase, so I suggest to bring
GET in line as well.
Test case: Install python-launchpadlib, then run this at a Python
prompt:
>>> import httplib2
>>> httplib2.debuglevel = 1
>>> from launchpadlib.launchpad import Launchpad
>>> lp = Launchpad.login_anonymously("test", "production")
>>> lp.distributions["ubuntu"].getSeries(name_or_version="vivid")
If this bug is present, then the debug output from the last statement
will include a line starting with "send: 'get
/1.0/ubuntu?ws.op=getSeries"; the fix corrects the GET to be
capitalised.
To manage notifications about this bug go to:
https://bugs.launchpad.net/lazr.restfulclient/+bug/1401544/+subscriptions
More information about the foundations-bugs
mailing list