@@ -54,6 +54,7 @@ private void setupMocks() {
5454 .withStatus (200 )
5555 .withHeader ("Content-Type" , "text/turtle" )
5656 .withHeader ("Link" , Link .of (LDP .BasicContainer , "type" ).toString ())
57+ .withHeader ("Link" , Link .of (URI .create ("http://acl.example/" ), "acl" ).toString ())
5758 .withHeader ("Link" , Link .of (
5859 URI .create (PIM .getNamespace () + "Storage" ),
5960 "type" ).toString ())
@@ -66,6 +67,7 @@ private void setupMocks() {
6667 .withStatus (200 )
6768 .withHeader ("Content-Type" , "text/turtle" )
6869 .withHeader ("Link" , Link .of (LDP .BasicContainer , "type" ).toString ())
70+ .withHeader ("Link" , Link .of (URI .create ("http://acl.example/solid/" ), "acl" ).toString ())
6971 .withHeader ("Link" , Link .of (URI .create ("http://storage.example/" ),
7072 PIM .storage ).toString ())
7173 .withHeader ("Link" , Link .of (URI .create ("https://history.test/" ), "timegate" ).toString ())
@@ -84,6 +86,7 @@ private void setupMocks() {
8486 .withStatus (200 )
8587 .withHeader ("Content-Type" , "text/turtle" )
8688 .withHeader ("Link" , Link .of (LDP .RDFSource , "type" ).toString ())
89+ .withHeader ("Link" , Link .of (URI .create ("http://acl.example/recipe" ), "acl" ).toString ())
8790 .withHeader ("Link" , Link .of (URI .create ("http://storage.example/" ),
8891 PIM .storage ).toString ())
8992 .withHeader ("Link" , Link .of (URI .create ("https://history.test/" ), "timegate" ).toString ())
@@ -103,6 +106,7 @@ private void setupMocks() {
103106 .withHeader ("Content-Type" , "text/turtle" )
104107 .withHeader ("Link" , Link .of (LDP .RDFSource , "type" ).toString ())
105108 .withHeader ("Link" , Link .of (URI .create ("http://storage.example/" ), PIM .storage ).toString ())
109+ .withHeader ("Link" , Link .of (URI .create ("http://acl.example/custom-agent" ), "acl" ).toString ())
106110 .withHeader ("Link" , Link .of (URI .create ("https://history.test/" ), "timegate" ).toString ())
107111 .withHeader ("WAC-Allow" , "user=\" read write\" ,public=\" read\" " )
108112 .withHeader ("Allow" , "POST, PUT, PATCH" )
@@ -136,6 +140,7 @@ private void setupMocks() {
136140 .withHeader ("Link" , Link .of (URI .create ("http://storage.example/" ),
137141 PIM .storage ).toString ())
138142 .withHeader ("Link" , Link .of (URI .create ("https://history.test/" ), "timegate" ).toString ())
143+ .withHeader ("Link" , Link .of (URI .create ("http://acl.example/playlist" ), "acl" ).toString ())
139144 .withHeader ("WAC-Allow" , "user=\" read write\" ,public=\" read\" " )
140145 .withHeader ("Allow" , "POST, PUT, PATCH" )
141146 .withHeader ("Accept-Post" , "application/ld+json, text/turtle" )
@@ -171,6 +176,7 @@ private void setupMocks() {
171176 .willReturn (aResponse ()
172177 .withStatus (200 )
173178 .withHeader ("Content-Type" , "text/plain" )
179+ .withHeader ("Link" , Link .of (URI .create ("http://acl.example/binary" ), "acl" ).toString ())
174180 .withBody ("This is a plain text document." )));
175181
176182 wireMockServer .stubFor (put (urlEqualTo ("/binary" ))
@@ -191,6 +197,7 @@ private void setupMocks() {
191197 .willReturn (aResponse ()
192198 .withStatus (200 )
193199 .withHeader ("Content-Type" , "text/turtle" )
200+ .withHeader ("Link" , Link .of (URI .create ("http://acl.example/nonRDF" ), "acl" ).toString ())
194201 .withBody ("This isn't valid turtle." )));
195202
196203 wireMockServer .stubFor (get (urlEqualTo ("/missing" ))
0 commit comments