lp:~james-w/lazr.restfulclient/reject-non-json-responses
- Get this branch:
- bzr branch lp:~james-w/lazr.restfulclient/reject-non-json-responses
Branch merges
- Francis J. Lacoste (community): Needs Resubmitting
- Graham Binns (community): Approve (code)
-
Diff: 88 lines (+38/-9)2 files modifiedsrc/lazr/restfulclient/errors.py (+15/-0)
src/lazr/restfulclient/resource.py (+23/-9)
Related bugs
Related blueprints
Branch information
Recent revisions
- 86. By James Westby
-
Use the content-type returned by the response to interpret it.
Using a hardcoded application/json value means that it tries to interpret
any response as JSON, even if it is HTML say. While this doesn't matter for
normal operation with LP it does mean that some errors are masked. - 85. By Leonard Richardson
-
[r=michael.nelson] Fixed comparisons of entries and hosted files with None. Landed on behalf of Rick Spencer.
- 84. By Leonard Richardson
-
[r=abentley] Add a proof-of-concept test for OAuth-signed anonymous access.
- 82. By Leonard Richardson
-
[r=jml] Improved the error message given when the user tries to follow a link, not knowing that they don't have permission to see the link.
- 81. By Leonard Richardson
-
[r=allenap] Request the correctly-spelled WADL media type. The misspelled media type will still work if going against an old version of lazr.restful.
- 79. By Leonard Richardson
-
[r=allenap] Implemented the equality operation for entries and hosted files.
Branch metadata
- Branch format:
- Branch format 6
- Repository format:
- Bazaar pack repository format 1 (needs bzr 0.92)