diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-08-16 10:16:33 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-08-16 10:16:33 +0200 |
commit | 1c5629263bcb4d6b3ffad23fc4571de20eeab029 (patch) | |
tree | 4eb3276fe828ce7c424227e2165be2ce6e4347cb /Zotlabs/Web/HTTPHeaders.php | |
parent | 2a482223935ed02e275214093ab25b6ef1261381 (diff) | |
parent | 4addde782e8d79e6ac1a964af4fb9197f74d3dfb (diff) | |
download | volse-hubzilla-1c5629263bcb4d6b3ffad23fc4571de20eeab029.tar.gz volse-hubzilla-1c5629263bcb4d6b3ffad23fc4571de20eeab029.tar.bz2 volse-hubzilla-1c5629263bcb4d6b3ffad23fc4571de20eeab029.zip |
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'Zotlabs/Web/HTTPHeaders.php')
-rw-r--r-- | Zotlabs/Web/HTTPHeaders.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Zotlabs/Web/HTTPHeaders.php b/Zotlabs/Web/HTTPHeaders.php index 1e4c1bf84..4be51a8f3 100644 --- a/Zotlabs/Web/HTTPHeaders.php +++ b/Zotlabs/Web/HTTPHeaders.php @@ -40,6 +40,20 @@ class HTTPHeaders { function fetch() { return $this->parsed; } + + function fetcharr() { + $ret = []; + if($this->parsed) { + foreach($this->parsed as $x) { + foreach($x as $y => $z) { + $ret[$y] = $z; + } + } + } + return $ret; + } + + } |