Skip to content

Add Content-Type and Content-Disposition for plain text, json, and PNG #234

@lidel

Description

@lidel

Content-Type and Content-Disposition header in response have high impact for web browser experience.
They inform browser how to render content and what filename is used in "Save As" user flows.

Ref.

TODO

Some of below may already exist, but we should confirm and fill any gaps:

Content-Type test for

  • plain text
  • JSON
  • image (1x1px PNG?)
  • raw block
  • car
  • ipns-record

Content-Disposition test for

  • plain text
  • JSON
  • image (1x1px PNG?)
  • raw block
  • car
  • ipns-record

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High: Likely tackled by core team if no one steps uptest:coverageImproves the spec covered by this test suite

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions