Task #2914
closedTask #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
Updated by bmbouter over 7 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.
Updated by bizhang over 7 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
Updated by bmbouter about 7 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
.
Updated by bmbouter about 7 years ago
- Groomed changed from No to Yes
- Sprint Candidate changed from No to Yes
Updated by jortel@redhat.com about 7 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to jortel@redhat.com
Updated by jortel@redhat.com about 7 years ago
- Status changed from ASSIGNED to POST
Added by jortel@redhat.com almost 7 years ago
Added by jortel@redhat.com almost 7 years ago
Revision ec922115 | View on GitHub
Support x-send and nginx headers. closes #2914
Updated by jortel@redhat.com almost 7 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp|ec9221158eb6880465060a94468733d70787c3c0.
Updated by bmbouter almost 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Support x-send and nginx headers. closes #2914