Task #2914
Task #2868: Platform support for publishing.
Add support for Pulp to handle X-SEND and X-Accel-Redirect response headers
100%
Description
The ContentView needs to be updated to detect if XSEND can/should be used to stream bits. The pulp2 code[0] to add the X-SENDFILE
header should also be ported.
It should be noted that nginx does not use the X-SENDFILE
header, but rather the X-Accel-Redirect
header.
It would be good to support either of these servers. Prehaps a default property named webserver
in settings.py and a user config in server.yaml that defaults to None, and can be set to None, apache, or nginx
Associated revisions
Revision ec922115
View on GitHub
Support x-send and nginx headers. closes #2914
History
#1
Updated by jortel@redhat.com over 3 years ago
- Description updated (diff)
#2
Updated by bmbouter over 3 years ago
- Subject changed from Add support for Apache integration and X-SEND files in Content WSGI application. to Add support for Apache integration and X-SEND files
I think for the foreseable future we will only have 1 WSGI application serving all content requests include API and content requests. I think the adding of XSend support and Apache can continue with that 1 WSGI application and if we want to break it out we could do that as separate work.
#3
Updated by bizhang over 3 years ago
- Subject changed from Add support for Apache integration and X-SEND files to Add support for Pulp to handle X-SEND files
- Description updated (diff)
After discussion with @jortel I'm rewriting this to be a xsend task and am creating a new task to create an ansible apache role
#4
Updated by bmbouter about 3 years ago
- Subject changed from Add support for Pulp to handle X-SEND files to Add support for Pulp to handle X-SEND and X-Accel-Redirect response headers
- Description updated (diff)
Retitling, added checklist items, and groomed. I also updated the description to specify the name webserver
.
#5
Updated by bmbouter about 3 years ago
- Groomed changed from No to Yes
- Sprint Candidate changed from No to Yes
#6
Updated by mhrivnak about 3 years ago
- Sprint/Milestone set to 47
#7
Updated by jortel@redhat.com about 3 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to jortel@redhat.com
#8
Updated by jortel@redhat.com about 3 years ago
- Status changed from ASSIGNED to POST
#9
Updated by jortel@redhat.com about 3 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp|ec9221158eb6880465060a94468733d70787c3c0.
#10
Updated by bmbouter almost 3 years ago
- Sprint set to Sprint 28
#11
Updated by bmbouter almost 3 years ago
- Sprint/Milestone deleted (
47)
#12
Updated by daviddavis almost 2 years ago
- Sprint/Milestone set to 3.0.0
#13
Updated by bmbouter almost 2 years ago
- Tags deleted (
Pulp 3)
#14
Updated by bmbouter about 1 year ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Please register to edit this issue
Support x-send and nginx headers. closes #2914