-
Notifications
You must be signed in to change notification settings - Fork 349
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
DAV\Client: Request body missing on PROPFIND after HEAD request #649
Comments
I also experienced this. I could fix it by recreating the cURL instance, but that is probably not the preferred way to do this. |
@andreaswolf: You once fixed it by always setting the |
@cweiske Uh, I did not remember that :D Would have saved me quite a bit of time recently… |
uhoh :S so it looks like that fix never got ported to sabre/http when that split happened. Sorry about that |
Closed in favor of sabre-io/http#47 |
Hey guys, this is now fixed in sabre/http (tagged as 3.0.5) so you should be able to update this. If you could let me know it's not working for you, I will also prepare a full sabre/dav release. |
The new sabre-http version makes it work for me. |
When using the
Sabre\DAV\Client
to do aHEAD
request, followed by aPROPFIND
request, the latter fails because of a missing response body.Reason for this problem is that the curl settings (including the
CURLOPT_NOBODY
option) are not cleared/reset between requests.Test case:
Result:
This happens with
sabre/dav 2.1.3
.The text was updated successfully, but these errors were encountered: