Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versioning support (DeltaV) #100

Open
dkocher opened this issue Apr 19, 2013 · 0 comments
Open

Versioning support (DeltaV) #100

dkocher opened this issue Apr 19, 2013 · 0 comments

Comments

@dkocher
Copy link
Collaborator

dkocher commented Apr 19, 2013

Original author: [email protected] (June 09, 2011 22:04:14)

What steps will reproduce the problem?
Extension request only. Since WebDav has already such extension.
See http://www.webdav.org/deltav/protocol/draft-ietf-webdav-versioning-xx.7.htm for details.

Next code-samle could be extrlemely usefull for some cases:
{{{
Sardine sardine = SardineFactory.begin();
sardine.checkOut("http://yourdavserver.com/adirectory/");

List<DavResource> resources = sardine.getResources("http://yourdavserver.com/adirectory/");
for (DavResource res : resources)
{
res.setAttribute(/** whatever **/);
}
resources .addResource("theStringData" ,"TheDataItself");
sardine.checkIn("http://yourdavserver.com/adirectory/");
}}}

For sure this example should be more carefully defined. Here is just a main direction....

Original issue: http://code.google.com/p/sardine/issues/detail?id=100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant