fix: HTML error response for small buffers
When downloading data to a user-specified buffer, any HTML error responses are stored in that buffer. If the buffer is small, e.g. 4 bytes, the stored info is not very useful.
Fix it.
Edited by Sacha Brants