more work on activitypub httpsignature verification

This commit is contained in:
zotlabs
2017-08-14 22:40:29 -07:00
parent 68f6043d44
commit e9679d251c
2 changed files with 18 additions and 1 deletions

View File

@@ -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;
}
}