Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
jio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Yaxel Perez
jio
Commits
a91c592e
Commit
a91c592e
authored
Apr 08, 2013
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dav storage completed + tests
parent
9e5c6ae6
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
757 additions
and
522 deletions
+757
-522
src/jio.storage/davstorage.js
src/jio.storage/davstorage.js
+431
-398
test/jiotests.js
test/jiotests.js
+299
-121
test/responsexml/davlist
test/responsexml/davlist
+27
-3
No files found.
src/jio.storage/davstorage.js
View file @
a91c592e
This diff is collapsed.
Click to expand it.
test/jiotests.js
View file @
a91c592e
This diff is collapsed.
Click to expand it.
test/responsexml/davlist
View file @
a91c592e
...
...
@@ -25,7 +25,7 @@
</D:propstat>
</D:response>
<D:response
xmlns:lp1=
"DAV:"
xmlns:lp2=
"http://apache.org/dav/props/"
>
<D:href>
/some/path/
alldocs1
</D:href>
<D:href>
/some/path/
http:%252F%252F100%2525_.json
</D:href>
<D:propstat>
<D:prop>
<lp1:resourcetype/>
...
...
@@ -50,7 +50,32 @@
</D:propstat>
</D:response>
<D:response
xmlns:lp1=
"DAV:"
xmlns:lp2=
"http://apache.org/dav/props/"
>
<D:href>
/some/path/alldocs2
</D:href>
<D:href>
/some/path/ISBN:1038729410372
</D:href>
<D:propstat>
<D:prop>
<lp1:resourcetype/>
<lp1:creationdate>
2012-05-01T17:41:13Z
</lp1:creationdate>
<lp1:getcontentlength>
223
</lp1:getcontentlength>
<lp1:getlastmodified>
Wed, 02 May 2012 10:48:33 GMT
</lp1:getlastmodified>
<lp1:getetag>
"c9-4bf0d1aeb9e43"
</lp1:getetag>
<lp2:executable>
F
</lp2:executable>
<D:supportedlock>
<D:lockentry>
<D:lockscope><D:exclusive/></D:lockscope>
<D:locktype><D:write/></D:locktype>
</D:lockentry>
<D:lockentry>
<D:lockscope><D:shared/></D:lockscope>
<D:locktype><D:write/></D:locktype>
</D:lockentry>
</D:supportedlock>
<D:lockdiscovery/>
</D:prop>
<D:status>
HTTP/1.1 200 OK
</D:status>
</D:propstat>
</D:response>
<D:response
xmlns:lp1=
"DAV:"
xmlns:lp2=
"http://apache.org/dav/props/"
>
<D:href>
/some/path/http:%252F%252F100%2525_.json.body_.html
</D:href>
<D:propstat>
<D:prop>
<lp1:resourcetype/>
...
...
@@ -75,4 +100,3 @@
</D:propstat>
</D:response>
</D:multistatus>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment