mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 06:02:29 -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:
@@ -446,8 +446,8 @@
|
||||
const updateRssFeedList = () => {
|
||||
new Request.JSON({
|
||||
url: 'api/v2/rss/items',
|
||||
noCache: true,
|
||||
method: 'get',
|
||||
noCache: true,
|
||||
data: {
|
||||
withData: true
|
||||
},
|
||||
@@ -668,7 +668,6 @@
|
||||
|
||||
new Request({
|
||||
url: 'api/v2/rss/refreshItem',
|
||||
noCache: true,
|
||||
method: 'post',
|
||||
data: {
|
||||
itemPath: pathByFeedId.get(feedUid)
|
||||
@@ -746,7 +745,6 @@
|
||||
// send request
|
||||
new Request({
|
||||
url: 'api/v2/rss/markAsRead',
|
||||
noCache: true,
|
||||
method: 'post',
|
||||
data: {
|
||||
itemPath: path
|
||||
@@ -787,7 +785,6 @@
|
||||
|
||||
new Request({
|
||||
url: 'api/v2/rss/markAsRead',
|
||||
noCache: true,
|
||||
method: 'post',
|
||||
data: {
|
||||
itemPath: path,
|
||||
|
||||
Reference in New Issue
Block a user