mirror of
https://github.com/friendica/friendica
synced 2025-04-25 06:30:11 +00:00
Changed:
- changed double-quotes to single - added some empty lines for better readability
This commit is contained in:
parent
d0a011f049
commit
b3906326a4
2 changed files with 7 additions and 1 deletions
|
@ -43,6 +43,7 @@ class Download extends \Friendica\BaseModule
|
|||
|
||||
/**
|
||||
* @param array $request
|
||||
*
|
||||
* @return void
|
||||
* @throws \Exception
|
||||
*/
|
||||
|
@ -52,7 +53,7 @@ class Download extends \Friendica\BaseModule
|
|||
|
||||
$etag = 'W/"' . $hash . '"';
|
||||
if (trim($_SERVER['HTTP_IF_NONE_MATCH'] ?? '') == $etag) {
|
||||
header("HTTP/1.1 304 Not Modified");
|
||||
header('HTTP/1.1 304 Not Modified');
|
||||
System::exit();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue