Skip to content

getting pdf _meta returns Buffer data #20

@sanoel

Description

@sanoel

Client believes the content-type and returns a Buffer under the 'data' key when requesting the _meta document of a resource that is an application/pdf.

Current fix seems to be JSON.parse(response.data.toString())

I think the content-type of _meta documents need to be carefully considered.

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