Project

Profile

Help

Issue #9216

S3 storage always sets Content-Type header to octet-stream

Added by gerrod about 1 month ago. Updated 21 days ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 103
Quarter:

Description

Since artifact files are renamed to the form of artifact/sh/a256digest when being saved, artifacts stored on s3 will always be returned from the content app with Content-Type header application/octet-stream. For most artifacts this is fine, but for PublishedMetadata which is stored through a PublishedArtifact this can be problematic if a content type's tooling is expecting that metadata to be served with a certain Content-Type header. As is the case for pip which expects simple index html pages to have the Content-Type header text/html.


Related issues

Copied to Pulp - Backport #9244: Backport #9216 "S3 storage always sets Content-Type header to octet-stream" to 3.14.zCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision feede7bb View on GitHub
Added by gerrod about 1 month ago

Content app now properly sets Content-Type header for S3

fixes: #9216

History

#1 Updated by dkliban@redhat.com about 1 month ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 102

#2 Updated by rchan about 1 month ago

  • Sprint changed from Sprint 102 to Sprint 103

#3 Updated by gerrod about 1 month ago

  • Status changed from ASSIGNED to POST

#4 Updated by gerrod about 1 month ago

  • Status changed from POST to MODIFIED

#5 Updated by dalley 30 days ago

  • Sprint/Milestone set to 3.15.0

#6 Updated by dalley 30 days ago

  • Copied to Backport #9244: Backport #9216 "S3 storage always sets Content-Type header to octet-stream" to 3.14.z added

#7 Updated by pulpbot 21 days ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF