MAASClient issues POST requests instead of PUT requests.

Bug #1251214 reported by Raphaël Badin
14
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.put(...) # => this issues a POST request instead of the expected PUT request

The problem is due to MAASClient using urllib2 (instead of — for example ­— httplib2) and urllib2 being only capable of issuing GET or POST request.

Tags: apiclient

Related branches

Changed in maas:
assignee: nobody → Julian Edwards (julian-edwards)
status: Triaged → In Progress
Raphaël Badin (rvb)
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.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.