mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
Webdav: fully implements the controller and response
The controller is tested from real request scraped from apache mod_dav implementation. The requests were scraped using a wireshark-like tool. Those requests have been adapted to suit to our xml.
This commit is contained in:
16
utils/http/docstore/dav.http
Normal file
16
utils/http/docstore/dav.http
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
### Get a document
|
||||
GET http://{{ host }}/dav/get/{{ uuid }}/d
|
||||
|
||||
### OPTIONS on a document
|
||||
OPTIONS http://{{ host }}/dav/get/{{ uuid }}/d
|
||||
|
||||
### HEAD ona document
|
||||
HEAD http://{{ host }}/dav/get/{{ uuid }}/d
|
||||
|
||||
### Get the directory of a document
|
||||
GET http://{{ host }}/dav/get/{{ uuid }}/
|
||||
|
||||
### Option the directory of a document
|
||||
OPTIONS http://{{ host }}/dav/get/{{ uuid }}/
|
||||
|
6
utils/http/docstore/http-client.env.json
Normal file
6
utils/http/docstore/http-client.env.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"dev": {
|
||||
"host": "localhost:8001",
|
||||
"uuid": "0bf3b8e7-b25b-4227-aae9-a3263af0766f"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user