Skip to content

Possibly incorrect content type on access token response #23

@MaybeThisIsRu

Description

@MaybeThisIsRu

Hi folks,

I'm working on a Micropub client. A user who runs Known with indiepub is encountering an error using my app. Specifically, when their request was successful and I received a 200 OK response, the content-type header was set to application/x-www-form-urlencoded

As per the spec, I expected an application/json response.

Is what's available in the Token.php file correct?

header('Content-Type: application/x-www-form-urlencoded');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions