Simplified CONTENT_ headers retrieval
This commit is contained in:
parent
42b8c7aba9
commit
15dd17e9bd
@ -28,7 +28,7 @@ class ServerBag extends ParameterBag
|
||||
}
|
||||
// CONTENT_* are not prefixed with HTTP_
|
||||
elseif (in_array($key, array('CONTENT_LENGTH', 'CONTENT_MD5', 'CONTENT_TYPE'))) {
|
||||
$headers[$key] = $this->parameters[$key];
|
||||
$headers[$key] = $value;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user