Version
3.28
Describe the bug
core/3.28 added Distribution.content_headers_for() to allow plugins to specifiy response-headers. When using non-FileStorage backends, these headers are ignored.
pulp_rpm PR pulp/pulp_rpm#3193 , for example, fails on azure and S3 because the cache-disposition header isn't ending up in the response.
To Reproduce
Expected behavior
headers added by a plugin should be made available in the response
Additional context
With azure and google, looks like we can just feed the headers into response-parameters. S3 may need specific code.
Version
3.28
Describe the bug
core/3.28 added Distribution.content_headers_for() to allow plugins to specifiy response-headers. When using non-FileStorage backends, these headers are ignored.
pulp_rpm PR pulp/pulp_rpm#3193 , for example, fails on azure and S3 because the cache-disposition header isn't ending up in the response.
To Reproduce
Expected behavior
headers added by a plugin should be made available in the response
Additional context
With azure and google, looks like we can just feed the headers into response-parameters. S3 may need specific code.