Skip to content

Conversation

@HiromuHota
Copy link

@HiromuHota HiromuHota commented Aug 26, 2025

Summary

This PR adds chunk_size to iter_lines to be compat with requests.

Checklist

  • I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.

@HiromuHota
Copy link
Author

Closing as adding chunk_size itself doesn't make it compat with requests.Response, which has decode_unicode and delimiter.
https://requests.readthedocs.io/en/latest/api/#requests.Response.iter_lines

@HiromuHota HiromuHota closed this Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant