patched for http/davix access