diff --git a/egw-pear/HTTP/WebDAV/Server.php b/egw-pear/HTTP/WebDAV/Server.php index 7a58379b6d..60dc31ac92 100644 --- a/egw-pear/HTTP/WebDAV/Server.php +++ b/egw-pear/HTTP/WebDAV/Server.php @@ -1217,6 +1217,10 @@ class HTTP_WebDAV_Server $options["content_language"] = $val; break; + case 'HTTP_CONTENT_LENGTH': + // defined on IIS and has the same value as CONTENT_LENGTH + break; + case 'HTTP_CONTENT_LOCATION': // RFC 2616 14.14 /* The meaning of the Content-Location header in PUT or POST requests is undefined; servers are free @@ -1244,6 +1248,10 @@ class HTTP_WebDAV_Server // on implementations that do not support this ... break; + case 'HTTP_CONTENT_TYPE': + // defined on IIS and has the same value as CONTENT_TYPE + break; + case 'HTTP_CONTENT_MD5': // RFC 2616 14.15 // TODO: maybe we can just pretend here? $this->http_status("501 not implemented"); @@ -2044,7 +2052,7 @@ class HTTP_WebDAV_Server { //error_log( __METHOD__."\n" .print_r($text,true)); //error_log("prop-encode:" . print_r($this->_prop_encoding,true)); - + switch (strtolower($this->_prop_encoding)) { case "utf-8": //error_log( __METHOD__."allready encoded\n" .print_r($text,true));