tempest/releasenotes/notes/support-chunked-encoding-d71f53225f68edf3.yaml
Jordan Pittier 4408c4a5fe Swift object client: use urllib3 builtin support for chunked transfer
Urllib3 has native support for chunked encoding, so let's use this
instead of rolling our own. Less code to maintain, additional logging
and timing (thanks to our common RestClient). Yeah \O/.

Change-Id: I4a253a5cec0fc35009af25872239363625d417e3
2016-05-25 16:51:31 +02:00

10 lines
400 B
YAML

---
features:
- The RestClient (in tempest.lib.common.rest_client) now supports POSTing
and PUTing data with chunked transfer encoding. Just pass an `iterable`
object as the `body` argument and set the `chunked` argument to `True`.
- A new generator called `chunkify` is added in
tempest.lib.common.utils.data_utils that yields fixed-size chunks (slices)
from a Python sequence.