mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 13:12:41 +00:00
Style fix
This commit is contained in:
parent
e29c573210
commit
9cb7cf485d
1 changed files with 2 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
// this test returns 400 rather than 304 if the values of If-Modified-Since
|
||||
// this test returns 400 rather than 304 if the values of If-Modified-Since
|
||||
// and If-None-Match doesn't match $G_GET['t'] and $_GET['e'] respectively, or
|
||||
// if the $_GET members are missing
|
||||
if (
|
||||
!($_GET['t'] ?? "") ||
|
||||
!($_GET['t'] ?? "") ||
|
||||
!($_GET['e'] ?? "") ||
|
||||
($_SERVER['HTTP_IF_MODIFIED_SINCE'] ?? "") !== gmdate("D, d M Y H:i:s \G\M\T", (int) $_GET['t']) ||
|
||||
($_SERVER['HTTP_IF_NONE_MATCH'] ?? "") !== $_GET['e']
|
||||
|
@ -20,4 +20,3 @@ if (
|
|||
],
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue