Closed ktzee closed 4 years ago
@ktzee , I fixed the error here. If you don't use :body_encoding = :text
in the http\Client::session
call, an :ioerror
will be raised. You can see it in this testcase: https://github.com/yatta-lang/yatta/blob/d9ff42ec2603ac5341f86a882d795c6067eca142/language/tests/LargeFileDownload.yatta
If you use the latest release, you will see this error being properly thrown.
This works:
This doesn't: