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

Add bit to docs about iter_content #1695

Merged
merged 1 commit into from
Oct 21, 2013
Merged

Add bit to docs about iter_content #1695

merged 1 commit into from
Oct 21, 2013

Conversation

sigmavirus24
Copy link
Contributor

We keep seeing issues on the tracker and on StackOverflow where people are using r.raw.read to get the streamed content. The docs don't ever explicitly say they shouldn't do this so I added an addendum to recommend that they instead use iter_content instead. A recipe for saving that content to a file is also provided.

@ghost ghost assigned Lukasa Oct 20, 2013
@Lukasa
Copy link
Member

Lukasa commented Oct 21, 2013

LGTM. =)

Lukasa added a commit that referenced this pull request Oct 21, 2013
Add bit to docs about iter_content
@Lukasa Lukasa merged commit ff2b496 into psf:master Oct 21, 2013
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants