more work on activitypub httpsignature verification
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user