4408c4a5fe
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
10 lines
400 B
YAML
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.
|
|
|