aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Web
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-14 22:40:29 -0700
committerzotlabs <mike@macgirvin.com>2017-08-14 22:40:29 -0700
commite9679d251cea59c3948bcaa9c651f47338783384 (patch)
tree6eaeb106209f329cdc8244279fb1097d9c1af537 /Zotlabs/Web
parent68f6043d44e65f0516b2374948b51ccc8ab241fc (diff)
downloadvolse-hubzilla-e9679d251cea59c3948bcaa9c651f47338783384.tar.gz
volse-hubzilla-e9679d251cea59c3948bcaa9c651f47338783384.tar.bz2
volse-hubzilla-e9679d251cea59c3948bcaa9c651f47338783384.zip
more work on activitypub httpsignature verification
Diffstat (limited to 'Zotlabs/Web')
-rw-r--r--Zotlabs/Web/HTTPHeaders.php14
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;
+ }
+
+
}