W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > October to December 2001

question about links

From: Adam Freeman <afreeman@lightsurf.com>
Date: Tue, 13 Nov 2001 15:57:50 -0800
To: <w3c-dist-auth@w3.org>
Message-ID: <NFBBIBMJIOBNIGEECJHCEEDECEAA.afreeman@lightsurf.com>
Hello,
I have a question for the webdav community about the link, src and dest
elements as specified in RFC 2518.

If I have a webdav server running and I want to make a reference to a jpeg
image on the server, is this how I would go about it? -->

PROPPATCH /aJpegImage.jpg HTTP/1.1
Connection: Keep-Alive
Host: server:80
Content-Type: text/xml
Content-Length: ***

<?xml version="1.0" encoding="utf-8" ?>
<propertyupdate xmlns="DAV:">
  <set>
    <prop>
      <source>
        <link>
          <src>http://server/aJegImage.jpg</src>
          <dst>http://server/referenceToAJpegImage.jpg</dst>
        </link>
      </source>
    </prop>
  </set>
</propertyupdate>

Then, would the url http://server/referenceToAJpegImage.jpg return the image
data at http://server/aJpegImage.jpg server-side or is this up to the client
application??
Received on Tuesday, 13 November 2001 18:57:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:43:59 GMT