to fix bug #1875: egw and lighttpd webdav: no put possible"
This commit is contained in:
Ralf Becker 2009-03-25 07:08:26 +00:00
parent 50624e5929
commit d70874eabf

View File

@ -1217,6 +1217,10 @@ class HTTP_WebDAV_Server
$options["content_language"] = $val; $options["content_language"] = $val;
break; 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 case 'HTTP_CONTENT_LOCATION': // RFC 2616 14.14
/* The meaning of the Content-Location header in PUT /* The meaning of the Content-Location header in PUT
or POST requests is undefined; servers are free or POST requests is undefined; servers are free
@ -1244,6 +1248,10 @@ class HTTP_WebDAV_Server
// on implementations that do not support this ... // on implementations that do not support this ...
break; 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 case 'HTTP_CONTENT_MD5': // RFC 2616 14.15
// TODO: maybe we can just pretend here? // TODO: maybe we can just pretend here?
$this->http_status("501 not implemented"); $this->http_status("501 not implemented");