Project

Profile

Help

Issue #9216

closed

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

Added by gerrod over 3 years ago. Updated about 3 years 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

Actions
Actions #1

Updated by dkliban@redhat.com over 3 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 102
Actions #2

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 102 to Sprint 103
Actions #3

Updated by gerrod over 3 years ago

  • Status changed from ASSIGNED to POST

Added by gerrod over 3 years ago

Revision feede7bb | View on GitHub

Content app now properly sets Content-Type header for S3

fixes: #9216

Actions #4

Updated by gerrod over 3 years ago

  • Status changed from POST to MODIFIED
Actions #5

Updated by dalley over 3 years ago

  • Sprint/Milestone set to 3.15.0
Actions #6

Updated by dalley over 3 years ago

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

Updated by pulpbot about 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF