Commit c67d40c4 authored by Ricki Hirner's avatar Ricki Hirner

OPTIONS: process multiple DAV headers

parent ddef40ac
......@@ -102,8 +102,7 @@ public class DavResource {
.build()).execute();
checkStatus(response);
String dav = response.header("DAV");
if (dav != null)
for (String dav : response.headers("DAV"))
for (String capability : TextUtils.split(dav, ","))
capabilities.add(capability.trim());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment