cs3org / wopiserver

A vendor-neutral application gateway compatible with the WOPI specifications.
Apache License 2.0
55 stars 26 forks source link

Update data transfer methods to use refactored CS3APIs #30

Closed ishank011 closed 3 years ago

ishank011 commented 3 years ago

I guess the list is anyway very short, often with a single element, right?

Yes, for most of the drivers, the response will have two elements, simple and tus. Since we weren't able to configure the tus client last time, we just opt for simple for now. I'll fix that soon. Regarding the list comprehension, the protocol parameter would be unique, so the filtered list will just have a single element. I don't think we can write comprehensions without storing the values in a container, so had to use this.