-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Uploads currently use a simple Webdav PUT request to upload files. All clients use the TUS procotol for uploads, so the cdperf tools should use it, too.
See
Lines 120 to 133 in 3b88374
| upload(id: string, path: string, data: ArrayBuffer, credential: Credential): Result { | |
| const uploadResponse = http.request( | |
| 'PUT', | |
| `${this.baseURL}/remote.php/dav/spaces/${id}/${path}`, | |
| data, | |
| buildParams({}, { credential }), | |
| ); | |
| check(uploadResponse, { | |
| 'dav upload': ({ status }) => status === 201, | |
| }); | |
| return { response: uploadResponse }; | |
| } |
Metadata
Metadata
Assignees
Labels
No labels