-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stream webdav downloads using http client #18653
Conversation
Why use Guzzle instead of the Sabre DAV Client that is already used in that class? It supports streams as well, with nearly the same interface:
Also, you missed the cURL stuff in |
From what I can tell that api doesn't actually stream the result, just returns the string result as a stream cc @evert |
This is true.. It's been a feature request for a while: sabre-io/http#15 |
@evert As @DeepDiver1975 sometimes says... FIXIT! 😆 |
I don't know how! |
@Xenopathic @PVince81 @DeepDiver1975 can this be merged? |
* @param GuzzleResponse $response | ||
* @param bool $stream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$isStream
? Is it a boolean or can it be an actual stream ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A boolean, to tell the Response class if it should treat the response as a stream
Seems to work with federated shares 👍 Would be good to find out whether it works with valid SSL certs though. @LukasReschke what do you think ? |
Still missing the other cURL stuff in |
👍 |
A new inspection was created. |
👍 |
@PVince81 can you re-review with the latest changes |
@DeepDiver1975 @MorrisJobke can you review this? |
👍 |
stream webdav downloads using http client
Extends the http client to allow streamed responses and uses that for dav downloads.
Replaces #10620
cc @PVince81 @LukasReschke @MorrisJobke