Opened 6 years ago

Closed 4 years ago

Last modified 4 years ago

#12386 closed Patch - Feature (fixed)

Feature patch - Support User-Agent specification via QNetworkRequest to mythdownloadmanager

Reported by: Gary Buhrmaster <gary.buhrmaster@…> Owned by: Gary Buhrmaster <gary.buhrmaster@…>
Priority: trivial Milestone: 29.0
Component: MythTV - General Version: Master Head
Severity: low Keywords:
Cc: Ticket locked: no


Feature patch to support the ability to specify the User-Agent for the headers to be passed to the target server (using a QNetworkRequest). The default is to use the existing (custom) MythTV User-Agent (i.e. no change unless requested by some future code addition).

To be honest, I do not know of a case where this is useful, today, but as some sites do generate various formats of response based on User-Agent, it may be useful for some future usage. And it was trivial to do (and I had my head in the mythdownloadmanager code for other reasons).

github ref:
github git-am ref:

Change History (2)

comment:1 Changed 4 years ago by Gary Buhrmaster <gary.buhrmaster@…>

Owner: set to Gary Buhrmaster <gary.buhrmaster@…>
Resolution: fixed
Status: newclosed

In 36669f92cf612bcc61643757d68507af3f8f63eb/mythtv:

MythDownloadManager?: Support User-Agent passthrough. Fixes #12386

Signed-off-by: Paul Harrison <pharrison@…>

comment:2 Changed 4 years ago by paulh

Milestone: unknown29.0
Note: See TracTickets for help on using tickets.