Merge lp:~elachuni/piston-mini-client/304-is-valid-response-status into lp:piston-mini-client
Proposed by
Anthony Lenton
Status: | Merged |
---|---|
Merged at revision: | 22 |
Proposed branch: | lp:~elachuni/piston-mini-client/304-is-valid-response-status |
Merge into: | lp:piston-mini-client |
Diff against target: |
47 lines (+13/-2) 3 files modified
.bzrignore (+1/-1) piston_mini_client/__init__.py (+1/-1) piston_mini_client/test/test_resource.py (+11/-0) |
To merge this branch: | bzr merge lp:~elachuni/piston-mini-client/304-is-valid-response-status |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Nelson | Approve | ||
Review via email: mp+44339@code.launchpad.net |
Description of the change
This branch avoids 304 responses from the server being raised as APIErrors.
Also, a test was added for the full list of valid status codes.
To post a comment you must log in.
Nice - isn't Mock great ;)