[mythtv-commits] Ticket #12386: Feature patch - Support User-Agent specification via QNetworkRequest to mythdownloadmanager

MythTV noreply at mythtv.org
Wed Feb 18 00:26:32 UTC 2015


#12386: Feature patch - Support User-Agent specification via QNetworkRequest to
mythdownloadmanager
-------------------------------------------------+-------------------------
     Reporter:  Gary Buhrmaster                  |      Owner:
  <gary.buhrmaster@…>                            |
         Type:  Patch - Feature                  |     Status:  new
     Priority:  trivial                          |  Milestone:  unknown
    Component:  MythTV - General                 |    Version:  Master Head
     Severity:  low                              |   Keywords:
Ticket locked:  0                                |
-------------------------------------------------+-------------------------
 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:
 https://github.com/garybuhrmaster/mythtv/commit/c479db192d8ed827f597b77f6935b80dfe1f1afe
 [[BR]]
 github git-am ref:
 https://github.com/garybuhrmaster/mythtv/commit/c479db192d8ed827f597b77f6935b80dfe1f1afe.patch

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12386>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list