MAASClient issues POST requests instead of PUT requests.
Bug #1251214 reported by
Raphaël Badin
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Julian Edwards |
Bug Description
from apiclient import MAASClient
maas_client = MAASClient(...)
maas_client.
The problem is due to MAASClient using urllib2 (instead of — for example — httplib2) and urllib2 being only capable of issuing GET or POST request.
Related branches
lp:~julian-edwards/maas/maasclient-methods-bug-1257183
- Raphaël Badin (community): Approve
-
Diff: 61 lines (+32/-1)2 files modifiedsrc/apiclient/maas_client.py (+13/-1)
src/apiclient/tests/test_maas_client.py (+19/-0)
Changed in maas: | |
assignee: | nobody → Julian Edwards (julian-edwards) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | none → 14.04 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.