Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit Controls for Network Requests and File Reading #63

Open
itboy87 opened this issue Sep 9, 2024 · 0 comments
Open

Limit Controls for Network Requests and File Reading #63

itboy87 opened this issue Sep 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@itboy87
Copy link
Collaborator

itboy87 commented Sep 9, 2024

Users should be able to set certain limits when making network requests or reading from files, such as:

•	Initial size: The starting size of data to be fetched or read.
•	Read increment size: The size of data to be read next, until the max limit is reached, the data source is empty, or a specific tag is found.
•	Max size: The maximum total data to be fetched or read.

This feature will enable partial data fetching, allowing, for example, the parsing of just the header of a web page without needing to fully download or read the entire page.

The functionality should be integrated into the SourceReader component, so it can work seamlessly with both file systems and network URLs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant