How to read Download response body string?

The position of the buffer will be at the end so you are just reading the empty string. You can seekstart to the beginning before reading:
readchomp(seekstart(response_body_io)).

1 Like