adding ldp:Resource header to the responses as per 4.2.1.4 of the spec
authorNandana Mihindukulasooriya <nandana.cse@gmail.com>
Mon, 16 Jun 2014 15:33:25 +0200
changeset 645 c460e6ff7ed0
parent 644 afe041e0f7fc
child 646 d97c97e51f86
adding ldp:Resource header to the responses as per 4.2.1.4 of the spec
ldp-primer/getbc_res.txt
ldp-primer/ic_product_lookup_resp.txt
ldp-primer/product_lookup_resp.txt
--- a/ldp-primer/getbc_res.txt	Mon Jun 16 08:31:26 2014 -0400
+++ b/ldp-primer/getbc_res.txt	Mon Jun 16 15:33:25 2014 +0200
@@ -1,6 +1,6 @@
 HTTP/1.1 200 OK 
 Content-Type: text/turtle; charset=UTF-8
-Link: <http://www.w3.org/ns/ldp#BasicContainer>; rel='type'
+Link: <http://www.w3.org/ns/ldp#BasicContainer>; rel='type', <http://www.w3.org/ns/ldp#Resource>; rel='type'
 Allow: OPTIONS,HEAD,GET,POST,PUT,PATCH
 Content-Length: 250
 ETag: W/'123456789'
@@ -15,7 +15,7 @@
 
 HTTP/1.1 200 OK 
 Content-Type: application/ld+json; charset=UTF-8
-Link: <http://www.w3.org/ns/ldp#BasicContainer>; rel='type'
+Link: <http://www.w3.org/ns/ldp#BasicContainer>; rel='type', <http://www.w3.org/ns/ldp#Resource>; rel='type'
 Allow: OPTIONS,HEAD,GET,POST,PUT,PATCH
 Content-Length: 270
 ETag: W/'123456789'
--- a/ldp-primer/ic_product_lookup_resp.txt	Mon Jun 16 08:31:26 2014 -0400
+++ b/ldp-primer/ic_product_lookup_resp.txt	Mon Jun 16 15:33:25 2014 +0200
@@ -1,6 +1,6 @@
 HTTP/1.1 200 OK 
 Content-Type: text/turtle; charset=UTF-8
-Link: <http://www.w3.org/ns/ldp#IndirectContainer>; rel="type"
+Link: <http://www.w3.org/ns/ldp#IndirectContainer>; rel="type",  <http://www.w3.org/ns/ldp#Resource>; rel='type'
 Allow: OPTIONS,HEAD,GET,POST,PUT,PATCH
 Content-Length: 256
 ETag: W/"123456789"
@@ -23,7 +23,7 @@
 
 HTTP/1.1 200 OK 
 Content-Type: application/ld+json; charset=UTF-8
-Link: <http://www.w3.org/ns/ldp#IndirectContainer>; rel="type"
+Link: <http://www.w3.org/ns/ldp#IndirectContainer>; rel="type",  <http://www.w3.org/ns/ldp#Resource>; rel='type'
 Allow: OPTIONS,HEAD,GET,POST,PUT,PATCH
 Content-Length: 278
 ETag: W/"123456789"
--- a/ldp-primer/product_lookup_resp.txt	Mon Jun 16 08:31:26 2014 -0400
+++ b/ldp-primer/product_lookup_resp.txt	Mon Jun 16 15:33:25 2014 +0200
@@ -1,6 +1,6 @@
 HTTP/1.1 200 OK 
 Content-Type: text/turtle; charset=UTF-8
-Link: <http://www.w3.org/ns/ldp#DirectContainer>; rel="type"
+Link: <http://www.w3.org/ns/ldp#DirectContainer>; rel="type",  <http://www.w3.org/ns/ldp#Resource>; rel='type'
 Allow: OPTIONS,HEAD,GET,POST,PUT,PATCH
 Content-Length: 246  
 ETag: W/"123456789"
@@ -22,7 +22,7 @@
 
 HTTP/1.1 200 OK 
 Content-Type: application/ld+json; charset=UTF-8
-Link: <http://www.w3.org/ns/ldp#DirectContainer>; rel="type"
+Link: <http://www.w3.org/ns/ldp#DirectContainer>; rel="type",  <http://www.w3.org/ns/ldp#Resource>; rel='type'
 Allow: OPTIONS,HEAD,GET,POST,PUT,PATCH
 Content-Length: 315
 ETag: W/"123456789"