Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.
This repository was archived by the owner on Aug 21, 2025. It is now read-only.

Use response.content for binary response content #27

@SpainTrain

Description

@SpainTrain

Would you accept a PR to update process_pdf_response and process_zip_response (https://github.com/housecanary/hc-api-python/blob/master/housecanary/output.py#L91) to use response.content, as is suggested for binary response content (http://docs.python-requests.org/en/master/user/quickstart/#binary-response-content)? Is there a reason to use .text?

This would require a major bump, but would make the library more intuitive to work with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions