Open
Description
Very similar to Issue 10, we are seeing an issue when POSTing some piped content, e.g. via here file:
http -A aws4 POST $AWS_ES_URL/some_index/doc/TEST:1 <<<'{"SOME":"text"}'
...
http: error: TypeError: object supporting the buffer API required
In this case, the body appears to be a BufferedReader
, with BufferedIOBase
superclass defining the read()
method.
Materializing the reader using read()
works around that problem, at the cost of loading the body into memory.
Metadata
Metadata
Assignees
Labels
No labels