Skip to content

Add support for "inline" content-disposition or content-type application/pdf #8

@davegraham92120

Description

@davegraham92120

Anvil sends back binary data using a content-disposition header of "inline". I'm not sure why they don't use "attachment".

Instead of treating "inline" content-disposition as binary data I just looked for a response content-type header of "application/pdf". Not sure if this is the best way to handle it. Here's the changes that worked for Anvil:
image

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