Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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