Skip to content

Commit 346efe4

Browse files
authored
fix(rss.php): http status 304 unmodified (#2955)
1 parent b9b5872 commit 346efe4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/rss/rss.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function fetch( $history )
143143
$headers['If-Last-Modified'] = $this->lastModified;
144144
$cli = call_user_func($this->fetchURL, $this->url, $this->cookies, $headers);
145145
if($cli->status<200 || $cli->status>=300) {
146-
if ($cli->status !== 304) {
146+
if ($cli->status != 304) {
147147
$msg = $cli->status == -100
148148
? '[RSS-Timeout]'
149149
: ($cli->status < 100

0 commit comments

Comments
 (0)