John's comment3, changing location header to use absolute URIs
authorNandana Mihindukulasooriya <nandana.cse@gmail.com>
Thu, 12 Jun 2014 18:53:50 +0200
changeset 640 371d88c20262
parent 639 88230ac80978
child 641 006a4e4d1b1d
John's comment3, changing location header to use absolute URIs
ldp-primer/ldp-primer.html
--- a/ldp-primer/ldp-primer.html	Thu Jun 12 18:37:40 2014 +0200
+++ b/ldp-primer/ldp-primer.html	Thu Jun 12 18:53:50 2014 +0200
@@ -497,7 +497,7 @@
 
    <pre title="Response - creating a RDF resource" class="example"> 
 HTTP/1.1 201 Created
-Location: /alice/foaf
+Location: http://example.org/alice/foaf
 Link: &lt;http://www.w3.org/ns/ldp#Resource&gt;; rel=&#39;type&#39;
 Content-Length: 0 
    </pre>
@@ -535,7 +535,7 @@
 
       <pre title="Response - creating a non-RDF resource" class="example"> 
 HTTP/1.1 201 Created
-Location: /alice/avatar
+Location: http://example.org/alice/avatar
 Link: &lt;http://www.w3.org/ns/ldp#Resource&gt;; rel=&quot;type&quot;
 Link: &lt;http://example.org/alice/avatar/meta&gt;; rel=&quot;describedby&quot;
 Content-Length: 0   
@@ -621,7 +621,7 @@
       <p>If the create is successful, the server responds with location of the newly created container for the photos.</p>
       <pre title="Response - creating the new container" class="example">
 HTTP/1.1 201 Created
-Location: /alice/photos/
+Location: http://example.org/alice/photos/
 Content-Length: 0  
         </pre>  
 
@@ -779,7 +779,7 @@
       <p>If the creation is successful, the server responds with location of the newly created resource.</p>
       <pre title="A response of creating new a bug" class='example' data-oninclude='fixCode'>
 HTTP/1.1 201 Created
-Location: /tracker/ldp-demo/bug67
+Location: http://example.org/tracker/ldp-demo/bug67
 Content-Length: 0           
       </pre>  
 
@@ -848,7 +848,7 @@
       <p> One thing to note is that the representation of the resource to be created contains a triple (&lt; &gt;, foaf:primaryTopic , &lt;#it&gt;). If the create request is successful, the server responds with location of the newly created resource.</p>
       <pre title="A response of creating new a bug" class='example' data-oninclude='fixCode'>
 HTTP/1.1 201 Created
-Location: /tracker/ldp-demo/bug67
+Location: http://example.org/tracker/ldp-demo/bug67
 Content-Length: 0           
       </pre>        
 
@@ -900,7 +900,6 @@
     <ul>
       <li><a href="https://dvcs.w3.org/hg/ldpwg/raw-file/default/TR/ldp-ucr.html">Linked Data Platform Use Cases and Requirements</a> [[LDP-UCR]]</li>
       <li><a href="https://dvcs.w3.org/hg/ldpwg/raw-file/default/ldp.html">Linked Data Platform 1.0 specifcation</a> [[LDP]]</li>
-      <li>Linked Data Platform 1.0 Primer (This document)</li>
       <li><a href="https://dvcs.w3.org/hg/ldpwg/raw-file/default/ldp-bp/ldp-bp.html">LDP Best Practices and Guidelines</a> [[LDP-BP]]</li>
       <li><a href="https://dvcs.w3.org/hg/ldpwg/raw-file/default/Test%20Cases/LDP%20Test%20Cases.html">Linked Data Platform 1.0 Test Cases</a>[[LDP-TESTS]]</li>
     </ul>