Skip to content

MultiPart, file, got error "TypeError: sequence item 0: expected a bytes-like object, str found" #28

@VDShark

Description

@VDShark

Hi there.
Are you testing file proxying?

I'm faced with this error.
I'm little diving in the problem, and found this place:
rest_framework_proxy/utils.py:61

return b'\r\n'.join(output)

Maybe I don't understand something, but output contains strings => we got this error.

P.S. Also, there is something strange with package releases. In pypi actual version 1.6, but in this repo I see 1.4 as latest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions