Project

Profile

Help

Task #9591

closed

Make user_agent generation available via plugin API

Added by ttereshc almost 3 years ago. Updated almost 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 110
Quarter:

Description

Pulpcore implementation of DownloaderFactory sets User-Agent header. To generate the user agent value user_agent() function is used.

Make this function a static method of the DownloaderFactory class, so it's available for plugin writers who subclass and customize a DownloaderFactory.

Actions #1

Updated by pulpbot almost 3 years ago

  • Status changed from ASSIGNED to POST

Added by ttereshc almost 3 years ago

Revision 3030e0f4 | View on GitHub

Move user_agent into DownloaderFactor to expose it in plugin API.

closes #9591 https://pulp.plan.io/issues/9591

Actions #2

Updated by ttereshc almost 3 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #3

Updated by pulpbot almost 3 years ago

  • Sprint/Milestone set to 3.17.0
Actions #4

Updated by pulpbot almost 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF