Fixing the single quotes in Link headers for ACTION-159
authorNandana Mihindukulasooriya <nandana.cse@gmail.com>
Sun, 29 Mar 2015 21:22:05 +0200
changeset 959 b2d2d631693e
parent 958 2f25528e103a
child 960 55aa86e5e014
Fixing the single quotes in Link headers for ACTION-159
ldp-primer/examples/create_cr_req.txt
ldp-primer/examples/getbc_res.txt
ldp-primer/examples/ic_product_lookup_resp.txt
ldp-primer/examples/product_lookup_resp.txt
ldp-primer/ldp-primer.html
--- a/ldp-primer/examples/create_cr_req.txt	Thu Mar 26 10:38:48 2015 -0400
+++ b/ldp-primer/examples/create_cr_req.txt	Sun Mar 29 21:22:05 2015 +0200
@@ -1,7 +1,7 @@
 POST alice/ HTTP/1.1
 Host: example.org
 Content-Type: text/turtle
-Link: <http://www.w3.org/ns/ldp/BasicContainer>; rel='type'
+Link: <http://www.w3.org/ns/ldp/BasicContainer>; rel="type"
 Slug: photos
 
 @prefix ldp: <http://www.w3.org/ns/ldp#> .
@@ -15,7 +15,7 @@
 POST alice/ HTTP/1.1
 Host: example.org
 Content-Type: application/ld+json
-Link: <http://www.w3.org/ns/ldp/BasicContainer>; rel='type'
+Link: <http://www.w3.org/ns/ldp/BasicContainer>; rel="type"
 Slug: photos
 
 {
--- a/ldp-primer/examples/getbc_res.txt	Thu Mar 26 10:38:48 2015 -0400
+++ b/ldp-primer/examples/getbc_res.txt	Sun Mar 29 21:22:05 2015 +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', <http://www.w3.org/ns/ldp#Resource>; 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
 Accept-Post: text/turtle, application/ld+json, image/bmp, image/jpeg
 Accept-Patch: text/ldpatch
@@ -17,7 +17,7 @@
 
 HTTP/1.1 200 OK 
 Content-Type: application/ld+json; charset=UTF-8
-Link: <http://www.w3.org/ns/ldp#BasicContainer>; rel='type', <http://www.w3.org/ns/ldp#Resource>; 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
 Accept-Post: text/turtle, application/ld+json, image/bmp, image/jpeg
 Accept-Patch: text/ldpatch
--- a/ldp-primer/examples/ic_product_lookup_resp.txt	Thu Mar 26 10:38:48 2015 -0400
+++ b/ldp-primer/examples/ic_product_lookup_resp.txt	Sun Mar 29 21:22:05 2015 +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",  <http://www.w3.org/ns/ldp#Resource>; 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
 Accept-Post: text/turtle, application/ld+json
 Accept-Patch: text/ldpatch
@@ -26,7 +26,7 @@
 
 HTTP/1.1 200 OK 
 Content-Type: application/ld+json; charset=UTF-8
-Link: <http://www.w3.org/ns/ldp#IndirectContainer>; rel="type",  <http://www.w3.org/ns/ldp#Resource>; 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
 Accept-Post: text/turtle, application/ld+json
 Accept-Patch: text/ldpatch
--- a/ldp-primer/examples/product_lookup_resp.txt	Thu Mar 26 10:38:48 2015 -0400
+++ b/ldp-primer/examples/product_lookup_resp.txt	Sun Mar 29 21:22:05 2015 +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",  <http://www.w3.org/ns/ldp#Resource>; 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
 Accept-Post: text/turtle, application/ld+json
 Accept-Patch: text/ldpatch
@@ -24,7 +24,7 @@
 
 HTTP/1.1 200 OK 
 Content-Type: application/ld+json; charset=UTF-8
-Link: <http://www.w3.org/ns/ldp#DirectContainer>; rel="type",  <http://www.w3.org/ns/ldp#Resource>; 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
 Accept-Post: text/turtle, application/ld+json
 Accept-Patch: text/ldpatch
--- a/ldp-primer/ldp-primer.html	Thu Mar 26 10:38:48 2015 -0400
+++ b/ldp-primer/ldp-primer.html	Sun Mar 29 21:22:05 2015 +0200
@@ -475,7 +475,7 @@
 Allow: OPTIONS,HEAD,GET,POST,PUT,PATCH
 Accept-Post: text/turtle, application/ld+json, image/bmp, image/jpeg
 Accept-Patch: text/ldpatch
-Link: &lt;http://www.w3.org/ns/ldp#BasicContainer&gt;; rel=&#39;type&#39;, &lt;http://www.w3.org/ns/ldp#Resource&gt;; rel=&#39;type&#39;     
+Link: &lt;http://www.w3.org/ns/ldp#BasicContainer&gt;; rel=&quot;type&quot;, &lt;http://www.w3.org/ns/ldp#Resource&gt;; rel=&quot;type&quot;     
       </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>