#4016 closed defect (fixed)

GBS: `GET /storage/v1/immutable/storage_index/share_number` returns "Content-Type: text/html"

Reported by: exarkun Owned by: GitHub <noreply@…>
Priority: normal Milestone: HTTP Storage Protocol
Component: unknown Version: n/a
Keywords: Cc:
Launchpad Bug:

Description

It looks like it returns the default Content-Type applied by Twisted Web because it never specifies its own. The correct Content-Type is probably ... "application/octet-stream"? At least, that's what the spec says it should be (update the spec too, if that's wrong).

Change History (2)

comment:1 Changed at 2023-05-01T15:59:16Z by itamarst

Code is ready in a branch, will open PR once CI is working again.

comment:2 Changed at 2023-05-04T17:16:12Z by GitHub <noreply@…>

  • Owner set to GitHub <noreply@…>
  • Resolution set to fixed
  • Status changed from new to closed

In 0b992c4/trunk:

Merge pull request #1297 from tahoe-lafs/4016-http-storage-content-type

HTTP storage content type correctness

Fixes ticket:4016

Note: See TracTickets for help on using tickets.