Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Oauth throws an exception, slamming the response code and body together #17

@GhostToast

Description

@GhostToast

Oauth is stringifying the output if the reseponse code is 400 or greater. However, having this information returned in a normal way, and checked further downstream, would be more useful. In our application, we expect JSON to be returned, but instead are getting this text.

https://github.com/Semantics3/semantics3-php/blob/master/lib/oauth-php/library/OAuthRequester.php#L115-L118

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