Skip to content

Remove requests_unixsocket dependency #24

@esben

Description

@esben

Instead of importing the requests_unixsocket module, include the custom requests.adapters.HTTPAdapter code (similar in requests-unixsocket and docker-py).

The monkeypatching and the custom Session class should not be needed.
Just do it the way suggested by the requests project. Create a normal Session instance,
mount our custom adapter, and use the normal requests API.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions