You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there. We've recently encountered a problem in connecting the sabre dav client with an owncloud server, it seems that when we pass the body of Request as a php stream resource, the CURLOPT_INFILE is being set in this file
then the upload works ok. It works however if we set the target webdav server to yandex for instance, i am guessing they do not process the CURLOPT_INFILESIZE header.
Would you consider implementing this option or accepting a pull request? Thank you
The text was updated successfully, but these errors were encountered:
Hi there. We've recently encountered a problem in connecting the sabre dav client with an owncloud server, it seems that when we pass the body of Request as a php stream resource, the CURLOPT_INFILE is being set in this file
https://github.com/sabre-io/http/blob/master/lib/Client.php
but the CURLOPT_INFILESIZE is not added to it, the result being that the uploaded file has 0 bytes in size.
If i add the missing code as:
then the upload works ok. It works however if we set the target webdav server to yandex for instance, i am guessing they do not process the CURLOPT_INFILESIZE header.
Would you consider implementing this option or accepting a pull request? Thank you
The text was updated successfully, but these errors were encountered: