Skip to content

Client.request_and_return no longer works with NoneResponse #840

@ubik2

Description

@ubik2

In 1.5.0, client.request_and_return doesn't work with NoneResponse anymore.
As a workaround, you can pass None as the response, but that prevents more generic protocol registration from working.
This broke in PR 817, where src/oic/oauth2/__init__.py lost the handling of the empty body on line 752 where it returned the status code instead.

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