fix: accidentally cached all songs, it is supposed to download
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
3d94e6e2dd
commit
7bc73de128
@ -155,7 +155,7 @@ class Connection:
|
|||||||
raise AttributeError("method is not set.")
|
raise AttributeError("method is not set.")
|
||||||
method = method.upper()
|
method = method.upper()
|
||||||
headers = dict() if headers is None else headers
|
headers = dict() if headers is None else headers
|
||||||
disable_cache = headers.get("Cache-Control", "").lower() == "no-cache" if disable_cache is None else disable_cache
|
disable_cache = (headers.get("Cache-Control", "").lower() == "no-cache" if disable_cache is None else disable_cache) or kwargs.get("stream", False)
|
||||||
accepted_response_codes = self.ACCEPTED_RESPONSE_CODES if accepted_response_codes is None else accepted_response_codes
|
accepted_response_codes = self.ACCEPTED_RESPONSE_CODES if accepted_response_codes is None else accepted_response_codes
|
||||||
|
|
||||||
current_kwargs = copy.copy(locals())
|
current_kwargs = copy.copy(locals())
|
||||||
|
Loading…
Reference in New Issue
Block a user