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

Support Response.body_file.tell() method for ZipFile friendly #117

Merged
merged 1 commit into from Jul 30, 2016

Conversation

Projects
None yet
2 participants
@michilu
Copy link
Contributor

michilu commented Aug 23, 2013

For example, such as generate the Apple's Passbook.

>>> writer = zipfile.ZipFile(ResponseBodyFile(Response()), 'w')
>>> writer.writestr('zinfo_or_arcname', b'foo')
>>> writer.close()

Thanks.

Support Response.body_file.tell() method for ZipFile friendly
For example, such as generate the Apple's Passbook.

>>> writer = zipfile.ZipFile(ResponseBodyFile(Response()), 'w')
>>> writer.writestr('zinfo_or_arcname', b'foo')
>>> writer.close()

@bertjwregeer bertjwregeer merged commit 9b36ecb into Pylons:master Jul 30, 2016

bertjwregeer added a commit that referenced this pull request Jul 30, 2016

Merge pull request #117
This adds the tell() function to ResponseBodyFile
@bertjwregeer

This comment has been minimized.

Copy link
Member

bertjwregeer commented Jul 30, 2016

Thank you!

@pyup-bot pyup-bot referenced this pull request Nov 3, 2017

Closed

Update webob to 1.7.3 #434

@pyup-bot pyup-bot referenced this pull request Jan 26, 2018

Closed

Update webob to 1.7.4 #407

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment