John's comment 2, changing 200 + C-L=0 to 204
authorNandana Mihindukulasooriya <nandana.cse@gmail.com>
Thu, 12 Jun 2014 18:37:40 +0200
changeset 639 88230ac80978
parent 638 f6321e49afb3
child 640 371d88c20262
John's comment 2, changing 200 + C-L=0 to 204
ldp-primer/bcget_res.txt
ldp-primer/getbc_res.txt
ldp-primer/ic_product_lookup_resp.txt
ldp-primer/ldp-primer.html
ldp-primer/product_lookup_resp.txt
--- a/ldp-primer/bcget_res.txt	Tue Jun 10 16:33:59 2014 -0400
+++ b/ldp-primer/bcget_res.txt	Thu Jun 12 18:37:40 2014 +0200
@@ -2,6 +2,7 @@
 Content-Type: text/turtle; charset=UTF-8
 Link: <http://www.w3.org/ns/ldp#Resource>; rel='type'
 Link: <http://www.w3.org/ns/ldp#BasicContainer>; rel='type'
+Content- Length: 245
 ETag: W/'123456789'
   
 @prefix dcterms: <http://purl.org/dc/terms/>.
@@ -17,6 +18,7 @@
 Content-Type: application/ld+json; charset=UTF-8
 Link: <http://www.w3.org/ns/ldp#Resource>; rel='type'
 Link: <http://www.w3.org/ns/ldp#BasicContainer>; rel='type'
+Content- Length: 255
 ETag: W/'123456789'
   
 {
--- a/ldp-primer/getbc_res.txt	Tue Jun 10 16:33:59 2014 -0400
+++ b/ldp-primer/getbc_res.txt	Thu Jun 12 18:37:40 2014 +0200
@@ -2,6 +2,7 @@
 Content-Type: text/turtle; charset=UTF-8
 Link: <http://www.w3.org/ns/ldp#Resource>; rel='type'
 Link: <http://www.w3.org/ns/ldp#BasicContainer>; rel='type'
+Content-Length: 250
 ETag: W/'123456789'
 	
 @prefix dcterms: <http://purl.org/dc/terms/>.
@@ -16,6 +17,7 @@
 Content-Type: application/ld+json; charset=UTF-8
 Link: <http://www.w3.org/ns/ldp#Resource>; rel='type'
 Link: <http://www.w3.org/ns/ldp#BasicContainer>; rel='type'
+Content-Length: 270
 ETag: W/'123456789'
 	
 {
--- a/ldp-primer/ic_product_lookup_resp.txt	Tue Jun 10 16:33:59 2014 -0400
+++ b/ldp-primer/ic_product_lookup_resp.txt	Thu Jun 12 18:37:40 2014 +0200
@@ -2,6 +2,7 @@
 Content-Type: text/turtle; charset=UTF-8
 Link: <http://www.w3.org/ns/ldp#Resource>; rel="type"
 Link: <http://www.w3.org/ns/ldp#IndirectContainer>; rel="type"
+Content-Length: 256
 ETag: W/"123456789"
 
 </tracker/ldp-demo/> a ldp:IndirectContainer;
@@ -20,6 +21,7 @@
 Content-Type: application/ld+json; charset=UTF-8
 Link: <http://www.w3.org/ns/ldp/Resource>; rel="type"
 Link: <http://www.w3.org/ns/ldp#IndirectContainer>; rel="type"
+Content-Length: 278
 ETag: W/"123456789"
 
 {
--- a/ldp-primer/ldp-primer.html	Tue Jun 10 16:33:59 2014 -0400
+++ b/ldp-primer/ldp-primer.html	Thu Jun 12 18:37:40 2014 +0200
@@ -470,13 +470,12 @@
       </pre> 
 
       <pre title="Response - retreiving OPTIONS of a basic container" class='example'>
-HTTP/1.1 200 OK
+HTTP/1.1 204 OK
 Allow: OPTIONS,HEAD,GET,POST,PUT,PATCH
 Accept-Post: text/turtle, application/ld+json, image/bmp, image/jpeg
 Accept-Patch: example/patch
 Link: &lt;http://www.w3.org/ns/ldp#Resource&gt;; rel=&#39;type&#39;
-Link: &lt;http://www.w3.org/ns/ldp#BasicContainer&gt;; rel=&#39;type&#39;
-Content-Length: 0       
+Link: &lt;http://www.w3.org/ns/ldp#BasicContainer&gt;; rel=&#39;type&#39;     
       </pre> 
 
       <p>According to the response, HTTP operations {OPTIONS,HEAD, GET,POST,PUT,PATCH} are allowed on her root container. In addition to the allowed operations, Accept-Post and Accept-Patch provides which media types are supported by the respective operations. The rel="type" Link header advertises that this resource supports LDP protocol and it is an LDP Basic Container.</p>
@@ -529,7 +528,7 @@
 Slug: avatar
 Link: &lt;http://www.w3.org/ns/ldp#Resource&gt;; rel=&quot;type&quot;
 Content-Type: image/png
-Content- Length: nnn
+Content- Length: 1020
 
 ### binary data ###
    </pre> 
--- a/ldp-primer/product_lookup_resp.txt	Tue Jun 10 16:33:59 2014 -0400
+++ b/ldp-primer/product_lookup_resp.txt	Thu Jun 12 18:37:40 2014 +0200
@@ -2,6 +2,7 @@
 Content-Type: text/turtle; charset=UTF-8
 Link: <http://www.w3.org/ns/ldp#Resource>; rel="type"
 Link: <http://www.w3.org/ns/ldp#DirectContainer>; rel="type"
+Content-Length: 246  
 ETag: W/"123456789"
 
 < > ldp:DirectContainer;
@@ -19,6 +20,7 @@
 Content-Type: application/ld+json; charset=UTF-8
 Link: <http://www.w3.org/ns/ldp#Resource>; rel="type"
 Link: <http://www.w3.org/ns/ldp#DirectContainer>; rel="type"
+Content-Length: 315
 ETag: W/"123456789"
 
 {