修改etag以符合bunny #6

Merged
enoch merged 1 commits from master into main 2024-11-08 00:10:20 +08:00

View File

@ -103,7 +103,7 @@ class Server
return redirect('/');
}
if($source->type==0){
$etag='"'.md5($source->source).'"';
$etag='W/"'.md5($source->source).'"';
$if_none_match = $request->header('If-None-Match',null);
if($if_none_match==$etag){
return response('',304);