lazr.restfulclient using lowercase get in HTTP request
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lazr.restfulclient |
Fix Released
|
Undecided
|
Unassigned | ||
lazr.restfulclient (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Lucid |
Fix Released
|
High
|
Colin Watson | ||
Precise |
Fix Released
|
High
|
Colin Watson |
Bug Description
http://
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-
>>> import httplib2
>>> httplib2.debuglevel = 1
>>> from launchpadlib.
>>> lp = Launchpad.
>>> lp.distribution
If this bug is present, then the debug output from the last statement will include a line starting with "send: 'get /1.0/ubuntu?
description: | updated |
Changed in lazr.restfulclient (Ubuntu Lucid): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in lazr.restfulclient (Ubuntu Precise): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Colin Watson (cjwatson) |
description: | updated |
This was fixed by http:// bazaar. launchpad. net/~lazr- developers/ lazr.restfulcli ent/trunk/ revision/ 121, but that needs to be backported to lucid and precise for production.