2016-09-08 21:20:56.316 ownDrop[83203:297160] Upload Error: Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: unauthorized (401)" UserInfo={NSUnderlyingError=0x7f84a279e150 {Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable content-type: application/xml" UserInfo={com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x7f84a2636d00> { URL: https://cloud.*****//remote.php/webdav/****.pdf } { status code: 401, headers {
"Cache-Control" = "no-store, no-cache, must-revalidate, post-check=0, pre-check=0";
Connection = "Keep-Alive";
"Content-Length" = 234;
"Content-Security-Policy" = "default-src 'none';";
"Content-Type" = "application/xml; charset=utf-8";
Date = "Thu, 08 Sep 2016 19:20:56 GMT";
Expires = "Thu, 19 Nov 1981 08:52:00 GMT";
"Keep-Alive" = "timeout=15, max=99";
Pragma = "no-cache";
Server = Apache;
"Set-Cookie" = "oc3e48f79a10=b3hssaci6rrdguse8t30nmimb6; path=/; secure; HttpOnly";
"Strict-Transport-Security" = "max-age=15768000";
"Www-Authenticate" = "Basic realm=\"ownCloud\"";
"X-Content-Type-Options" = nosniff;
"X-Download-Options" = noopen;
"X-Frame-Options" = Sameorigin;
"X-Permitted-Cross-Domain-Policies" = none;
"X-Powered-By" = "PHP/5.6.24-pl0-gentoo";
"X-Robots-Tag" = none;
"X-XSS-Protection" = "1; mode=block";
} }, NSErrorFailingURLKey=https://cloud.*****//remote.php/webdav/****.pdf, com.alamofire.serialization.response.error.data=<3c3f786d 6c207665 7273696f 6e3d2231 2e302220 656e636f 64696e67 3d227574 662d3822 3f3e0a3c 643a6572 726f7220 786d6c6e 733a643d 22444156 3a222078 6d6c6e73 3a733d22 68747470 3a2f2f73 61627265 6461762e 6f72672f 6e73223e 0a20203c 733a6578 63657074 696f6e3e 53616272 655c4441 565c4578 63657074 696f6e5c 4e6f7441 75746865 6e746963 61746564 3c2f733a 65786365 7074696f 6e3e0a20 203c733a 6d657373 6167653e 55736572 6e616d65 206f7220 70617373 776f7264 20776173 20696e63 6f727265 63743c2f 733a6d65 73736167 653e0a3c 2f643a65 72726f72 3e0a>, NSLocalizedDescription=Request failed: unacceptable content-type: application/xml}}, com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x7f84a2636d00> { URL: https://cloud.*****//remote.php/webdav/****.pdf } { status code: 401, headers {
"Cache-Control" = "no-store, no-cache, must-revalidate, post-check=0, pre-check=0";
Connection = "Keep-Alive";
"Content-Length" = 234;
"Content-Security-Policy" = "default-src 'none';";
"Content-Type" = "application/xml; charset=utf-8";
Date = "Thu, 08 Sep 2016 19:20:56 GMT";
Expires = "Thu, 19 Nov 1981 08:52:00 GMT";
"Keep-Alive" = "timeout=15, max=99";
Pragma = "no-cache";
Server = Apache;
"Set-Cookie" = "oc3e48f79a10=b3hssaci6rrdguse8t30nmimb6; path=/; secure; HttpOnly";
"Strict-Transport-Security" = "max-age=15768000";
"Www-Authenticate" = "Basic realm=\"ownCloud\"";
"X-Content-Type-Options" = nosniff;
"X-Download-Options" = noopen;
"X-Frame-Options" = Sameorigin;
"X-Permitted-Cross-Domain-Policies" = none;
"X-Powered-By" = "PHP/5.6.24-pl0-gentoo";
"X-Robots-Tag" = none;
"X-XSS-Protection" = "1; mode=block";
} }, NSErrorFailingURLKey=https://cloud.*****//remote.php/webdav/****.pdf, com.alamofire.serialization.response.error.data=<3c3f786d 6c207665 7273696f 6e3d2231 2e302220 656e636f 64696e67 3d227574 662d3822 3f3e0a3c 643a6572 726f7220 786d6c6e 733a643d 22444156 3a222078 6d6c6e73 3a733d22 68747470 3a2f2f73 61627265 6461762e 6f72672f 6e73223e 0a20203c 733a6578 63657074 696f6e3e 53616272 655c4441 565c4578 63657074 696f6e5c 4e6f7441 75746865 6e746963 61746564 3c2f733a 65786365 7074696f 6e3e0a20 203c733a 6d657373 6167653e 55736572 6e616d65 206f7220 70617373 776f7264 20776173 20696e63 6f727265 63743c2f 733a6d65 73736167 653e0a3c 2f643a65 72726f72 3e0a>, NSLocalizedDescription=Request failed: unauthorized (401)}