Skip to content

[BUG]: return errors when using requests_get() for /repos/{owner}/{repo}/pulls/{index}.{difftype} #26

@weixinrui

Description

@weixinrui

When using requests_get() method to request /repos/{owner}/{repo}/pulls/{index}.{difftype}, the method raises JSONDecodeError("Expecting value", s, err.value) from None exception. I think the cause is that the response body of this Gitea API returns text file rather than a dict.

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