title: WebDAV return 401 - How to authenticate?
body: <p>I have a problem with WebDAV. I have to get a list of files. I have this request:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0"?&gt;
  &lt;D:searchrequest xmlns:D = "DAV:"&gt;
  &lt;D:sql&gt;
      SELECT "DAV:displayname" FROM "address" WHERE "DAV:ishidden" = false AND "DAV:isfolder" = false 
  &lt;/D:sql&gt;
  &lt;/D:searchrequest&gt;
  </code></pre>
  
  <p>Response: </p>
  
  <blockquote>
    <p>401 - Unauthorized: Access is denied due to invalid credentials.</p>
  </blockquote>
  
  <p>I have user and password (who has access), but I don't know, how I can put this data to XML request.</p>