修改etag以符合bunny
This commit is contained in:
parent
4939723556
commit
af6d330f81
@ -103,7 +103,7 @@ class Server
|
|||||||
return redirect('/');
|
return redirect('/');
|
||||||
}
|
}
|
||||||
if($source->type==0){
|
if($source->type==0){
|
||||||
$etag='"'.md5($source->source).'"';
|
$etag='W/"'.md5($source->source).'"';
|
||||||
$if_none_match = $request->header('If-None-Match',null);
|
$if_none_match = $request->header('If-None-Match',null);
|
||||||
if($if_none_match==$etag){
|
if($if_none_match==$etag){
|
||||||
return response('',304);
|
return response('',304);
|
||||||
|
Loading…
Reference in New Issue
Block a user