You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Very similar to Issue 10, we are seeing an issue when POSTing some piped content, e.g. via here file:
In this case, the body appears to be a
BufferedReader
, withBufferedIOBase
superclass defining theread()
method.Materializing the reader using
read()
works around that problem, at the cost of loading the body into memory.The text was updated successfully, but these errors were encountered: