After reading through the source I haven't found the option that gives ability to set the maximum number of bytes, that allowed to be downloaded in a request. In my opinion this feature might be somewhere in dump_chunks, but please lets discuss about the details and whether this functionality might be implemented in this gem at all.