Changeset View
Changeset View
Standalone View
Standalone View
src/aphront/headerparser/AphrontHTTPHeaderParser.php
Context not available. | |||||
$this->name = null; | $this->name = null; | ||||
$this->content = null; | $this->content = null; | ||||
$parts = explode(':', $raw_header, 2); | $parts = @explode(':', $raw_header, 2); | ||||
$this->name = trim($parts[0]); | $this->name = trim($parts[0]); | ||||
if (count($parts) > 1) { | if (count($parts) > 1) { | ||||
$this->content = trim($parts[1]); | $this->content = trim($parts[1]); | ||||
Context not available. | |||||
$state = 'prekey'; | $state = 'prekey'; | ||||
$length = strlen($content); | $length = @strlen($content); | ||||
$pair_name = null; | $pair_name = null; | ||||
$pair_value = null; | $pair_value = null; | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0