Project

Profile

Help

Story #1179

closed

Pulp - Story #1150: As a user, I can lazily fetch repositories

As a developer I can receive headers while using download_one()

Added by bmbouter over 9 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Target Release - Nectar:
1.4.4
Groomed:
No
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
Quarter:

Description

While using download_one() a developer should be able to receive the headers that were delivered with the download. These headers should be able to be given the developer as soon as nectar receives them and before any data is written to the download request.

On possible implementation would be to add the ability to register a callback which will pass the headers as arguments as soon as they are known. The developer could register this callback before initiating the download request. Another approach may be to store the headers in the download request but this needs to be done in a structured way and must be available before the data is written to the download request.


Related issues

Blocks Pulp - Task #1195: Develop the pulp-streamerCLOSED - CURRENTRELEASEjcline@redhat.com

Actions
Actions #1

Updated by bmbouter over 9 years ago

  • Parent issue set to #1150
Actions #2

Updated by bmbouter over 9 years ago

  • Blocks Task #1195: Develop the pulp-streamer added
Actions #3

Updated by mhrivnak about 9 years ago

  • Sprint Candidate changed from No to Yes
Actions #4

Updated by ipanova@redhat.com about 9 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ipanova@redhat.com
  • Target Release - Nectar set to master
Actions #5

Updated by ipanova@redhat.com about 9 years ago

  • Status changed from ASSIGNED to POST

Added by ipanova@redhat.com about 9 years ago

Revision 3010bf62 | View on GitHub

As a developer I can receive headers while using download_one()

re #1179 https://pulp.plan.io/issues/1179

Actions #9

Updated by ipanova@redhat.com about 9 years ago

  • Status changed from POST to MODIFIED
Actions #10

Updated by ipanova@redhat.com about 9 years ago

  • % Done changed from 0 to 100
Actions #11

Updated by jortel@redhat.com about 9 years ago

  • Status changed from MODIFIED to POST
Actions #12

Updated by jortel@redhat.com about 9 years ago

  • Status changed from POST to MODIFIED
Actions #13

Updated by rbarlow almost 9 years ago

  • Target Release - Nectar changed from master to 1.4.4
Actions #14

Updated by rbarlow almost 9 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #15

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF