Skip to content

Commit e4176ac

Browse files
committed
Change WAC::addWACHeaders() to add "Link" headers instead of replacing them.
1 parent c33509e commit e4176ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WAC.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function addWACHeaders($request, $response, $webId) {
3636
$wacHeaders[] = "public=\"$publicGrants\"";
3737
}
3838

39-
$response = $response->withHeader("Link", '<.acl>; rel="acl"');
39+
$response = $response->withAddedHeader("Link", '<.acl>; rel="acl"');
4040
$response = $response->withHeader("WAC-Allow", implode(",", $wacHeaders));
4141
$this->filesystem->getAdapter()->setFormat($currentFormat);
4242
return $response;

0 commit comments

Comments
 (0)