Merge lp://staging/~cjwatson/lazr.restful/no-json-binary into lp://staging/lazr.restful
Proposed by
Colin Watson
Status: | Merged |
---|---|
Merged at revision: | 286 |
Proposed branch: | lp://staging/~cjwatson/lazr.restful/no-json-binary |
Merge into: | lp://staging/lazr.restful |
Diff against target: |
79 lines (+19/-12) 3 files modified
NEWS.rst (+4/-0) src/lazr/restful/docs/webservice-marshallers.rst (+4/-7) src/lazr/restful/marshallers.py (+11/-5) |
To merge this branch: | bzr merge lp://staging/~cjwatson/lazr.restful/no-json-binary |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ioana Lasc (community) | Approve | ||
Review via email: mp+396458@code.staging.launchpad.net |
Commit message
Don't attempt to JSON-decode Bytes fields read from a request.
Description of the change
Binary data can't be marshalled via JSON without additional encoding that we don't do, and lazr.restfulclient doesn't JSON-encode binary fields.
To post a comment you must log in.