Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Refreshing REST/Webdav for node

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 README.markdown
Octocat-spinner-32 capture.gz
Octocat-spinner-32 capture.log
Octocat-spinner-32 provider.js
Octocat-spinner-32 test.js
README.markdown

Refresh REST/Webdav for node

This project will be a module that exposes ANY data source as HTTP. The goals are as follows:

  • Implement GET/PUT/POST/DELETE as typically done in web apps
  • Implement enough of WebDav to enable mounting read/write in Finder
  • Further implement WebDav for other clients as time allows and need arises.

The main goal is to make a simple resource provider for web-apps and other http clients. This will work with, but not be tied to node-persistence

RESTful Web Service HTTP methods

Resource GET PUT POST DELETE
Collection URI, such as http://example.com/resources/ List the members of the collection, complete with their member URIs for further navigation. For example, list all the cars for sale. Meaning defined as "replace the entire collection with another collection". Create a new entry in the collection where the ID is assigned automatically by the collection. The ID created is usually included as part of the data returned by this operation. Meaning defined as "delete the entire collection".
Element URI, such as http://example.com/resources/7HOU57Y Retrieve a representation of the addressed member of the collection expressed in an appropriate MIME type Update the addressed member of the collection or create it with the specified ID. Treats the addressed member as a collection in its own right and creates a new subordinate of it. Delete the addressed member of the collection.

WebDav Notes

WebDav clients aren't good about following the spec, here are some notes.

http://code.google.com/p/sabredav/wiki/Finder

Something went wrong with that request. Please try again.