lp:~cjwatson/lazr.restful/web-service-caller-multipart-named-post
Created by
Colin Watson
and last modified
- Get this branch:
- bzr branch lp:~cjwatson/lazr.restful/web-service-caller-multipart-named-post
Only
Colin Watson
can upload to this branch. If you are
Colin Watson
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Ioana Lasc (community): Approve
-
Diff: 226 lines (+127/-20)4 files modifiedNEWS.rst (+9/-0)
setup.py (+1/-1)
src/lazr/restful/example/base/tests/hostedfile.txt (+10/-3)
src/lazr/restful/testing/webservice.py (+107/-16)
Related bugs
Related blueprints
Branch information
Recent revisions
- 274. By Colin Watson
-
Rework WebServiceCaller to send named POSTs as multipart/
form-data. Arguments that are instances of io.BufferedIOBase are sent as-is rather than
being encoded as JSON. This allows robust use of binary arguments on both
Python 2 and 3.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:lazr.restful