MSAPI, GET

This commit is contained in:
qkqpttgf
2021-06-17 17:18:44 +08:00
committed by GitHub
parent 7e4bf448e3
commit 86ba05b5be
+3 -1
View File
@@ -950,7 +950,9 @@ class Onedrive {
$url .= ':' . $path;
if (substr($url,-1)=='/') $url=substr($url,0,-1);
}
if ($method=='PUT') {
if ($method=='GET') {
$method = 'GET'; // do nothing
} elseif ($method=='PUT') {
if ($path=='' or $path=='/') {
$url .= 'content';
} else {