Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
12 tasks
lidel opened this issue Feb 13, 2025 · 0 comments
Open
12 tasks
Labels
P1 High: Likely tackled by core team if no one steps up test:coverage Improves the spec covered by this test suite

Comments

@lidel
Copy link
Member

lidel commented Feb 13, 2025

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
@lidel lidel added P1 High: Likely tackled by core team if no one steps up test:coverage Improves the spec covered by this test suite labels Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 High: Likely tackled by core team if no one steps up test:coverage Improves the spec covered by this test suite
Projects
None yet
Development

No branches or pull requests

1 participant