mirror of
https://github.com/anxdpanic/plugin.video.youtube.git
synced 2025-12-15 15:10:34 -08:00
Disable request cache if response is streamed
This commit is contained in:
parent
cdbcf5b517
commit
fb8bc43bd8
1 changed files with 2 additions and 0 deletions
|
|
@ -317,6 +317,8 @@ class BaseRequestsClass(object):
|
|||
hooks=hooks,
|
||||
))
|
||||
|
||||
if stream:
|
||||
cache = False
|
||||
if cache is not False:
|
||||
if prepared_request:
|
||||
method = prepared_request.method
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue