Project

Profile

Help

Task #9591

closed

Make user_agent generation available via plugin API

Added by ttereshc about 1 year ago. Updated about 1 year 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.

Also available in: Atom PDF