Last active
March 21, 2019 19:47
-
-
Save gregjan/115c860921d259ea151c87703e5cccfd to your computer and use it in GitHub Desktop.
duplication of the contains duplication issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jansen@X1:~$ curl -v -XPOST -H "Link: <http://www.w3.org/ns/ldp#BasicContainer>; rel=\"type\"" http://ciber-vs1.umd.edu:10080 | |
* Rebuilt URL to: http://ciber-vs1.umd.edu:10080/ | |
* Trying 128.8.216.153... | |
* TCP_NODELAY set | |
* Connected to ciber-vs1.umd.edu (128.8.216.153) port 10080 (#0) | |
> POST / HTTP/1.1 | |
> Host: ciber-vs1.umd.edu:10080 | |
> User-Agent: curl/7.58.0 | |
> Accept: */* | |
> Link: <http://www.w3.org/ns/ldp#BasicContainer>; rel="type" | |
> | |
< HTTP/1.1 201 Created | |
< Connection: keep-alive | |
< Location: http://ciber-vs1.umd.edu:10080/cbad3300-337f-40f9-aeaf-592425dc2c9d | |
< Content-Length: 0 | |
< Link: <http://www.w3.org/ns/ldp#BasicContainer>; rel="type" | |
< Link: <http://www.w3.org/ns/ldp#Container>; rel="type" | |
< Link: <http://www.w3.org/ns/ldp#RDFSource>; rel="type" | |
< Link: <http://www.w3.org/ns/ldp#Resource>; rel="type" | |
< Date: Thu, 21 Mar 2019 19:25:39 GMT | |
< | |
* Connection #0 to host ciber-vs1.umd.edu left intact | |
jansen@X1:~$ curl -v -XPOST -H "Link: <http://www.w3.org/ns/ldp#BasicContainer>; rel=\"type\"" http://ciber-vs1.umd.edu:10080/cbad3300-337f-40f9-aeaf-592425dc2c9d | |
* Trying 128.8.216.153... | |
* TCP_NODELAY set | |
* Connected to ciber-vs1.umd.edu (128.8.216.153) port 10080 (#0) | |
> POST /cbad3300-337f-40f9-aeaf-592425dc2c9d HTTP/1.1 | |
> Host: ciber-vs1.umd.edu:10080 | |
> User-Agent: curl/7.58.0 | |
> Accept: */* | |
> Link: <http://www.w3.org/ns/ldp#BasicContainer>; rel="type" | |
> | |
< HTTP/1.1 201 Created | |
< Connection: keep-alive | |
< Location: http://ciber-vs1.umd.edu:10080/cbad3300-337f-40f9-aeaf-592425dc2c9d/a6a6b759-c0fb-46e0-a1b2-4e13002ff0ec | |
< Content-Length: 0 | |
< Link: <http://www.w3.org/ns/ldp#BasicContainer>; rel="type" | |
< Link: <http://www.w3.org/ns/ldp#Container>; rel="type" | |
< Link: <http://www.w3.org/ns/ldp#RDFSource>; rel="type" | |
< Link: <http://www.w3.org/ns/ldp#Resource>; rel="type" | |
< Date: Thu, 21 Mar 2019 19:25:57 GMT | |
< | |
* Connection #0 to host ciber-vs1.umd.edu left intact | |
jansen@X1:~$ curl http://ciber-vs1.umd.edu:10080/cbad3300-337f-40f9-aeaf-592425dc2c9d | |
<http://ciber-vs1.umd.edu:10080/cbad3300-337f-40f9-aeaf-592425dc2c9d> | |
<http://www.w3.org/ns/ldp#contains> <http://ciber-vs1.umd.edu:10080/cbad3300-337f-40f9-aeaf-592425dc2c9d/a6a6b759-c0fb-46e0-a1b2-4e13002ff0ec> ; | |
<http://www.w3.org/ns/ldp#contains> <http://ciber-vs1.umd.edu:10080/cbad3300-337f-40f9-aeaf-592425dc2c9d/a6a6b759-c0fb-46e0-a1b2-4e13002ff0ec> . | |
jansen@X1:~$ curl -v -H "Prefer: return=representation; include=\"http://www.w3.org/ns/ldp#PreferContainment\"" http://ciber-vs1.umd.edu:10080/cbad3300-337f-40f9-aeaf-592425dc2c9d | |
* Trying 128.8.216.153... | |
* TCP_NODELAY set | |
* Connected to ciber-vs1.umd.edu (128.8.216.153) port 10080 (#0) | |
> GET /cbad3300-337f-40f9-aeaf-592425dc2c9d HTTP/1.1 | |
> Host: ciber-vs1.umd.edu:10080 | |
> User-Agent: curl/7.58.0 | |
> Accept: */* | |
> Prefer: return=representation; include="http://www.w3.org/ns/ldp#PreferContainment" | |
> | |
< HTTP/1.1 200 OK | |
< Link-Template: <http://ciber-vs1.umd.edu:10080/cbad3300-337f-40f9-aeaf-592425dc2c9d{?version}>; rel="http://mementoweb.org/ns#Memento" | |
< Link-Template: <http://ciber-vs1.umd.edu:10080/cbad3300-337f-40f9-aeaf-592425dc2c9d{?subject,predicate,object}>; rel="http://www.w3.org/ns/ldp#RDFSource" | |
< Accept-Patch: application/sparql-update | |
< Date: Thu, 21 Mar 2019 19:45:51 GMT | |
< Allow: GET,HEAD,OPTIONS,PATCH,PUT,DELETE,POST | |
< Connection: keep-alive | |
< ETag: W/"2fbe64b9b1bdb415bd3e53f9c99bc4f6" | |
< Last-Modified: Thu, 21 Mar 2019 19:25:57 GMT | |
< Vary: Accept | |
< Vary: Prefer | |
< Vary: Accept-Datetime | |
< Accept-Post: text/turtle,application/ld+json,application/n-triples | |
< Transfer-Encoding: chunked | |
< Content-Type: text/turtle;charset=UTF-8 | |
< Preference-Applied: return=representation | |
< Link: <http://www.w3.org/ns/ldp#BasicContainer>; rel="type" | |
< Link: <http://www.w3.org/ns/ldp#Container>; rel="type" | |
< Link: <http://www.w3.org/ns/ldp#RDFSource>; rel="type" | |
< Link: <http://www.w3.org/ns/ldp#Resource>; rel="type" | |
< Link: <http://ciber-vs1.umd.edu:10080/cbad3300-337f-40f9-aeaf-592425dc2c9d>; rel="original timegate" | |
< Link: <http://ciber-vs1.umd.edu:10080/cbad3300-337f-40f9-aeaf-592425dc2c9d?ext=timemap>; rel="timemap"; from="Thu, 21 Mar 2019 19:25:57 GMT"; until="Thu, 21 Mar 2019 19:25:57 GMT"; type="application/link-format" | |
< Link: <http://ciber-vs1.umd.edu:10080/cbad3300-337f-40f9-aeaf-592425dc2c9d?version=1553196357>; rel="memento"; datetime="Thu, 21 Mar 2019 19:25:57 GMT" | |
< Link: <http://ciber-vs1.umd.edu:10080/cbad3300-337f-40f9-aeaf-592425dc2c9d>; rel="self" | |
< | |
<http://ciber-vs1.umd.edu:10080/cbad3300-337f-40f9-aeaf-592425dc2c9d> | |
<http://www.w3.org/ns/ldp#contains> <http://ciber-vs1.umd.edu:10080/cbad3300-337f-40f9-aeaf-592425dc2c9d/a6a6b759-c0fb-46e0-a1b2-4e13002ff0ec> ; | |
<http://www.w3.org/ns/ldp#contains> <http://ciber-vs1.umd.edu:10080/cbad3300-337f-40f9-aeaf-592425dc2c9d/a6a6b759-c0fb-46e0-a1b2-4e13002ff0ec> . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment