Closed KES777 closed 5 years ago
Ouch! The response body is filled in asynchronously, so maybe you can circumvent the issue by waiting some time (1s should be well enough) as a workaround.
The real fix is to return a proxy object that blocks when the ->content
(or ->decoded_content
or whatever) methods are called to wait for the fetched content.
please put a note into documentation
As you can see
HTTP::Response
object has 4561 bytes of content, but ->content returns nothing. Also_content
is empty