** Description changed:
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 this to be capitalised.
** Changed in: lazr.restfulclient (Ubuntu Lucid)
Status: New => In Progress
** Changed in: lazr.restfulclient (Ubuntu Lucid)
Importance: Undecided => High
** Changed in: lazr.restfulclient (Ubuntu Lucid)
Assignee: (unassigned) => Colin Watson (cjwatson)
** Changed in: lazr.restfulclient (Ubuntu Precise)
Status: New => In Progress
** Changed in: lazr.restfulclient (Ubuntu Precise)
Importance: Undecided => High
** Changed in: lazr.restfulclient (Ubuntu Precise)
Assignee: (unassigned) => Colin Watson (cjwatson)
** Description changed:
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 this to be capitalised.
+ /1.0/ubuntu?ws.op=getSeries"; the fix corrects the GET to be
+ capitalised.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1401544
Title:
lazr.restfulclient using lowercase get in HTTP request
To manage notifications about this bug go to:
https://bugs.launchpad.net/lazr.restfulclient/+bug/1401544/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs