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

compress form XML in blobdb #27181

Closed
wants to merge 13 commits into from
Closed

compress form XML in blobdb #27181

wants to merge 13 commits into from

Conversation

snopoke
Copy link
Contributor

@snopoke snopoke commented Apr 16, 2020

https://dimagi-dev.atlassian.net/browse/IIO-742

SUMMARY

Changes in BlobDB API were made as per the suggestions on #26813

Replacement for #27022 (since it was from a fork)

class GzipStreamAttrAccessBeforeRead(Exception):
"""Raised when an attribure (eg: content_length) of the
Gzip Stream is accessed before the stream is read completely"""

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W391 blank line at end of file

# that it's correct
content_length += len(compress_stream.read())
self.assertEqual(compress_stream.content_length, content_length)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W391 blank line at end of file

@snopoke snopoke deleted the compress-xml branch April 16, 2020 08:12
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.

None yet

3 participants