We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 06d0c74 + 5cd2f33 commit 5d36ab0Copy full SHA for 5d36ab0
main/Net/Http/HeaderUtils.class.php
@@ -36,8 +36,9 @@ public static function redirectBack()
36
self::$headerSent = true;
37
self::$redirectSent = true;
38
return $_SERVER['HTTP_REFERER'];
39
- } else
40
- return false;
+ }
+
41
+ return false;
42
}
43
44
public static function getRequestHeaderList()
@@ -122,9 +123,7 @@ public static function sendNotCachedHeader()
122
123
public static function sendContentLength($length)
124
{
125
Assert::isInteger($length);
-
126
header("Content-Length: {$length}");
127
128
129
130
0 commit comments