treeform / puppy

Puppy fetches via HTTP and HTTPS
MIT License
184 stars 27 forks source link

Support for response body streaming #95

Closed its5Q closed 1 year ago

its5Q commented 1 year ago

Currently, if you want to retrieve a large page, you have to load it all into memory. Because of that, you can't download big files. So, it would be nice if there was a way to stream the response, so we could read it by chunks manually. Meanwhile, I've made a fork for myself that allows streaming, but the code is not ideal and it's only for windows. It would be great if something like that would be properly implemented in puppy.

treeform commented 1 year ago

We apologize, but we are not planning on implementing streaming capabilities at this time due to the complexity of getting it right with the various APIs and platforms. We just don't like streaming for various reasons. I want to look into HTTP range requests, as they may be a better option for large file transfers. In the meantime, please feel free to use your fork of the project if it meets your needs.

its5Q commented 1 year ago

We apologize, but we are not planning on implementing streaming capabilities at this time due to the complexity of getting it right with the various APIs and platforms. We just don't like streaming for various reasons. I want to look into HTTP range requests, as they may be a better option for large file transfers. In the meantime, please feel free to use your fork of the project if it meets your needs.

No worries, thank you, I will use my fork then.