mirror of
https://github.com/friendica/friendica
synced 2025-04-22 06:30:11 +00:00
Issue 3501: Mail contacts can be added again
This commit is contained in:
parent
ff16a6a9d1
commit
2079caea14
3 changed files with 6 additions and 5 deletions
|
@ -45,7 +45,7 @@ class Proxy extends BaseModule
|
|||
*
|
||||
* Question: Do we really need these three methods?
|
||||
*/
|
||||
if (isset($_SERVER['HTTP_IF_MODIFIED_SINCE'])) {
|
||||
if (isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) && isset($_SERVER['HTTP_IF_NONE_MATCH'])) {
|
||||
header('HTTP/1.1 304 Not Modified');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT');
|
||||
header('Etag: ' . $_SERVER['HTTP_IF_NONE_MATCH']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue