enyojs/ares-project — pull request #61 by snowfix (2012-09-20 16:45:22+00:00)
Title: ENYO-1000: switch Ares to WebDAV-like Hermes

- The sample Hermes implementation is fully REST-full
- Use GET for idem-potent operations (PROPFIND & GET)
- Use POST for every others (MKCOL, PUT, MKCOL, COPY, MOVE, DELETE)
- if overkill, fsLocal can be simplified (shortened) to rely only on GET
- PUT/GET uses base64-encoded file content in a JSON object
- Can carry binary data (former version could not)
- Cannot stream need to use multipart instead
- base64 encoding works in Firefox & Webkit-based browsers only (do we need to support more?)
- Still too much console.xxx()
- Some copy/paste/modify could be compacted/removed
- Mocha-based 27-cases test suite comes bundled. no code coverage estimation, but a good starting point
- Former implementation still present. need to remove it