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:
@@ -85,7 +85,6 @@ MochaUI.extend({
|
||||
else {
|
||||
new Request.JSON({
|
||||
url: 'api/v2/torrents/uploadLimit',
|
||||
noCache: true,
|
||||
method: 'post',
|
||||
data: {
|
||||
hashes: hashes.join('|')
|
||||
@@ -189,7 +188,6 @@ MochaUI.extend({
|
||||
else {
|
||||
new Request.JSON({
|
||||
url: 'api/v2/torrents/downloadLimit',
|
||||
noCache: true,
|
||||
method: 'post',
|
||||
data: {
|
||||
hashes: hashes.join('|')
|
||||
|
||||
Reference in New Issue
Block a user