Merge lp:~jtv/maas/bug-1313556 into lp:~maas-committers/maas/trunk
Proposed by
Jeroen T. Vermeulen
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Jeroen T. Vermeulen | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 2293 | ||||
Proposed branch: | lp:~jtv/maas/bug-1313556 | ||||
Merge into: | lp:~maas-committers/maas/trunk | ||||
Diff against target: |
39 lines (+12/-3) 2 files modified
src/apiclient/maas_client.py (+4/-2) src/apiclient/tests/test_maas_client.py (+8/-1) |
||||
To merge this branch: | bzr merge lp:~jtv/maas/bug-1313556 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | Approve | ||
Review via email: mp+217508@code.launchpad.net |
Commit message
Fix hanging “delete” in apiclient package.
Description of the change
This is a simple change, but it took me quite a while to figure out. Deleting a resource through the API client would hang while trying to read the server's response status. As it turns out, the problem wasn't so much with the response as with the request: it must have a body, even if that body should probably be empty.
Jeroen
To post a comment you must log in.
Does this boil down to a bug in a library we're using?