mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Remove 'no cache' directive for POST requests
The response for POST request is only cachable under a specific condition and qbt doesn't use it. https://developer.mozilla.org/en-US/docs/Glossary/Cacheable
This commit is contained in:
@@ -113,8 +113,8 @@ window.qBittorrent.PropWebseeds = (function() {
|
||||
const url = new URI('api/v2/torrents/webseeds?hash=' + current_hash);
|
||||
new Request.JSON({
|
||||
url: url,
|
||||
noCache: true,
|
||||
method: 'get',
|
||||
noCache: true,
|
||||
onFailure: function() {
|
||||
$('error_div').set('html', 'QBT_TR(qBittorrent client is not reachable)QBT_TR[CONTEXT=HttpServer]');
|
||||
clearTimeout(loadWebSeedsDataTimer);
|
||||
|
||||
Reference in New Issue
Block a user