PageRenderTime 51ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 2ms

/Webdav/tests/clients/nautilus_auth.php

https://github.com/Yannix/zetacomponents
PHP | 12691 lines | 12689 code | 2 blank | 0 comment | 0 complexity | 974a2a780e1dc315cb551ad39af42ba6 MD5 | raw file

Large files files are truncated, but you can click here to view the full file

  1. <?php
  2. return array (
  3. 2 =>
  4. array (
  5. 'request' =>
  6. array (
  7. 'body' => '<?xml version="1.0" encoding="utf-8" ?>
  8. <D:propfind xmlns:D="DAV:">
  9. <D:prop>
  10. <D:creationdate/>
  11. <D:displayname/>
  12. <D:getcontentlength/>
  13. <D:getcontenttype/>
  14. <D:getetag/>
  15. <D:getlastmodified/>
  16. <D:resourcetype/>
  17. </D:prop>
  18. </D:propfind>',
  19. 'server' =>
  20. array (
  21. 'SERVER_SOFTWARE' => 'lighttpd/1.4.22',
  22. 'SERVER_NAME' => 'webdav',
  23. 'GATEWAY_INTERFACE' => 'CGI/1.1',
  24. 'SERVER_PORT' => '80',
  25. 'SERVER_ADDR' => '::ffff:127.0.1.1',
  26. 'REMOTE_PORT' => '33458',
  27. 'REMOTE_ADDR' => '::ffff:127.0.1.1',
  28. 'CONTENT_LENGTH' => '235',
  29. 'SCRIPT_NAME' => '/index.php',
  30. 'PATH_INFO' => '/secure_collection',
  31. 'PATH_TRANSLATED' => '/home/dotxp/web/webdav/htdocs/secure_collection',
  32. 'SCRIPT_FILENAME' => '/home/dotxp/web/webdav/htdocs/index.php',
  33. 'DOCUMENT_ROOT' => '/home/dotxp/web/webdav/htdocs/',
  34. 'REQUEST_URI' => '/secure_collection',
  35. 'REDIRECT_URI' => '/index.php/secure_collection',
  36. 'QUERY_STRING' => '',
  37. 'REQUEST_METHOD' => 'PROPFIND',
  38. 'REDIRECT_STATUS' => '200',
  39. 'SERVER_PROTOCOL' => 'HTTP/1.1',
  40. 'HTTP_HOST' => 'webdav',
  41. 'HTTP_DEPTH' => '0',
  42. 'CONTENT_TYPE' => 'application/xml',
  43. 'HTTP_APPLY_TO_REDIRECT_REF' => 'T',
  44. 'HTTP_USER_AGENT' => 'gvfs/1.4.1',
  45. 'HTTP_AUTHORIZATION' => 'Digest username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection", algorithm="MD5", response="88149d9a9dce0a86cb5d0403cdea2df8"',
  46. 'HTTP_CONTENT_LENGTH' => '235',
  47. 'PHP_SELF' => '/index.php/secure_collection',
  48. 'PHP_AUTH_DIGEST' => 'username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection", algorithm="MD5", response="88149d9a9dce0a86cb5d0403cdea2df8"',
  49. 'REQUEST_TIME' => 1220431173,
  50. ),
  51. ),
  52. 'response' =>
  53. array (
  54. 'body' => '<?xml version="1.0" encoding="UTF-8"?>
  55. <D:multistatus xmlns:D="DAV:">
  56. <D:response>
  57. <D:href>/secure_collection</D:href>
  58. <D:propstat>
  59. <D:prop>
  60. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  61. <D:displayname>secure_collection</D:displayname>
  62. <D:getcontenttype>httpd/unix-directory</D:getcontenttype>
  63. <D:getetag>74c66f56a6551ab5bfb885e7f32aeac7</D:getetag>
  64. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  65. <D:getcontentlength>4096</D:getcontentlength>
  66. <D:resourcetype>
  67. <D:collection/>
  68. </D:resourcetype>
  69. </D:prop>
  70. <D:status>HTTP/1.1 200 OK</D:status>
  71. </D:propstat>
  72. </D:response>
  73. </D:multistatus>
  74. ',
  75. 'headers' =>
  76. array (
  77. 'Content-Type' => 'text/xml; charset="utf-8"',
  78. 'Server' => 'lighttpd/1.4.22/eZComponents/dev/ezcWebdavNautilusCompatibleTransportMock',
  79. ),
  80. 'status' => 'HTTP/1.1 207 Multi-Status',
  81. ),
  82. ),
  83. 3 =>
  84. array (
  85. 'request' =>
  86. array (
  87. 'body' => '<?xml version="1.0" encoding="utf-8" ?>
  88. <D:propfind xmlns:D="DAV:">
  89. <D:prop>
  90. <D:creationdate/>
  91. <D:displayname/>
  92. <D:getcontentlength/>
  93. <D:getcontenttype/>
  94. <D:getetag/>
  95. <D:getlastmodified/>
  96. <D:resourcetype/>
  97. </D:prop>
  98. </D:propfind>',
  99. 'server' =>
  100. array (
  101. 'SERVER_SOFTWARE' => 'lighttpd/1.4.22',
  102. 'SERVER_NAME' => 'webdav',
  103. 'GATEWAY_INTERFACE' => 'CGI/1.1',
  104. 'SERVER_PORT' => '80',
  105. 'SERVER_ADDR' => '::ffff:127.0.1.1',
  106. 'REMOTE_PORT' => '33458',
  107. 'REMOTE_ADDR' => '::ffff:127.0.1.1',
  108. 'CONTENT_LENGTH' => '235',
  109. 'SCRIPT_NAME' => '/index.php',
  110. 'PATH_INFO' => '/secure_collection/subdir',
  111. 'PATH_TRANSLATED' => '/home/dotxp/web/webdav/htdocs/secure_collection/subdir',
  112. 'SCRIPT_FILENAME' => '/home/dotxp/web/webdav/htdocs/index.php',
  113. 'DOCUMENT_ROOT' => '/home/dotxp/web/webdav/htdocs/',
  114. 'REQUEST_URI' => '/secure_collection/subdir',
  115. 'REDIRECT_URI' => '/index.php/secure_collection/subdir',
  116. 'QUERY_STRING' => '',
  117. 'REQUEST_METHOD' => 'PROPFIND',
  118. 'REDIRECT_STATUS' => '200',
  119. 'SERVER_PROTOCOL' => 'HTTP/1.1',
  120. 'HTTP_HOST' => 'webdav',
  121. 'HTTP_DEPTH' => '0',
  122. 'CONTENT_TYPE' => 'application/xml',
  123. 'HTTP_APPLY_TO_REDIRECT_REF' => 'T',
  124. 'HTTP_USER_AGENT' => 'gvfs/1.4.1',
  125. 'HTTP_AUTHORIZATION' => 'Digest username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection/subdir", algorithm="MD5", response="9386d3cd22fe2aa4109e6ea9950e5bc2"',
  126. 'HTTP_CONTENT_LENGTH' => '235',
  127. 'PHP_SELF' => '/index.php/secure_collection/subdir',
  128. 'PHP_AUTH_DIGEST' => 'username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection/subdir", algorithm="MD5", response="9386d3cd22fe2aa4109e6ea9950e5bc2"',
  129. 'REQUEST_TIME' => 1220431173,
  130. ),
  131. ),
  132. 'response' =>
  133. array (
  134. 'body' => '<?xml version="1.0" encoding="UTF-8"?>
  135. <D:multistatus xmlns:D="DAV:">
  136. <D:response>
  137. <D:href>/secure_collection/subdir</D:href>
  138. <D:propstat>
  139. <D:prop>
  140. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  141. <D:displayname>subdir</D:displayname>
  142. <D:getcontenttype>httpd/unix-directory</D:getcontenttype>
  143. <D:getetag>c5478175e232c6c35b72e28fb638de42</D:getetag>
  144. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  145. <D:getcontentlength>4096</D:getcontentlength>
  146. <D:resourcetype>
  147. <D:collection/>
  148. </D:resourcetype>
  149. </D:prop>
  150. <D:status>HTTP/1.1 200 OK</D:status>
  151. </D:propstat>
  152. </D:response>
  153. </D:multistatus>
  154. ',
  155. 'headers' =>
  156. array (
  157. 'Content-Type' => 'text/xml; charset="utf-8"',
  158. 'Server' => 'lighttpd/1.4.22/eZComponents/dev/ezcWebdavNautilusCompatibleTransportMock',
  159. ),
  160. 'status' => 'HTTP/1.1 207 Multi-Status',
  161. ),
  162. ),
  163. 4 =>
  164. array (
  165. 'request' =>
  166. array (
  167. 'body' => '<?xml version="1.0" encoding="utf-8" ?>
  168. <D:propfind xmlns:D="DAV:">
  169. <D:prop>
  170. <D:creationdate/>
  171. <D:displayname/>
  172. <D:getcontentlength/>
  173. <D:getcontenttype/>
  174. <D:getetag/>
  175. <D:getlastmodified/>
  176. <D:resourcetype/>
  177. </D:prop>
  178. </D:propfind>',
  179. 'server' =>
  180. array (
  181. 'SERVER_SOFTWARE' => 'lighttpd/1.4.22',
  182. 'SERVER_NAME' => 'webdav',
  183. 'GATEWAY_INTERFACE' => 'CGI/1.1',
  184. 'SERVER_PORT' => '80',
  185. 'SERVER_ADDR' => '::ffff:127.0.1.1',
  186. 'REMOTE_PORT' => '33458',
  187. 'REMOTE_ADDR' => '::ffff:127.0.1.1',
  188. 'CONTENT_LENGTH' => '235',
  189. 'SCRIPT_NAME' => '/index.php',
  190. 'PATH_INFO' => '/secure_collection/file.txt',
  191. 'PATH_TRANSLATED' => '/home/dotxp/web/webdav/htdocs/secure_collection/file.txt',
  192. 'SCRIPT_FILENAME' => '/home/dotxp/web/webdav/htdocs/index.php',
  193. 'DOCUMENT_ROOT' => '/home/dotxp/web/webdav/htdocs/',
  194. 'REQUEST_URI' => '/secure_collection/file.txt',
  195. 'REDIRECT_URI' => '/index.php/secure_collection/file.txt',
  196. 'QUERY_STRING' => '',
  197. 'REQUEST_METHOD' => 'PROPFIND',
  198. 'REDIRECT_STATUS' => '200',
  199. 'SERVER_PROTOCOL' => 'HTTP/1.1',
  200. 'HTTP_HOST' => 'webdav',
  201. 'HTTP_DEPTH' => '0',
  202. 'CONTENT_TYPE' => 'application/xml',
  203. 'HTTP_APPLY_TO_REDIRECT_REF' => 'T',
  204. 'HTTP_USER_AGENT' => 'gvfs/1.4.1',
  205. 'HTTP_AUTHORIZATION' => 'Digest username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection/file.txt", algorithm="MD5", response="02b4a80a1f33659b41337afb775a2c71"',
  206. 'HTTP_CONTENT_LENGTH' => '235',
  207. 'PHP_SELF' => '/index.php/secure_collection/file.txt',
  208. 'PHP_AUTH_DIGEST' => 'username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection/file.txt", algorithm="MD5", response="02b4a80a1f33659b41337afb775a2c71"',
  209. 'REQUEST_TIME' => 1220431173,
  210. ),
  211. ),
  212. 'response' =>
  213. array (
  214. 'body' => '<?xml version="1.0" encoding="UTF-8"?>
  215. <D:multistatus xmlns:D="DAV:">
  216. <D:response>
  217. <D:href>/secure_collection/file.txt</D:href>
  218. <D:propstat>
  219. <D:prop>
  220. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  221. <D:displayname>file.txt</D:displayname>
  222. <D:getcontenttype>text/plain</D:getcontenttype>
  223. <D:getetag>915f244ec53702ea179db0509d787bde</D:getetag>
  224. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  225. <D:getcontentlength>18</D:getcontentlength>
  226. <D:resourcetype/>
  227. </D:prop>
  228. <D:status>HTTP/1.1 200 OK</D:status>
  229. </D:propstat>
  230. </D:response>
  231. </D:multistatus>
  232. ',
  233. 'headers' =>
  234. array (
  235. 'Content-Type' => 'text/xml; charset="utf-8"',
  236. 'Server' => 'lighttpd/1.4.22/eZComponents/dev/ezcWebdavNautilusCompatibleTransportMock',
  237. ),
  238. 'status' => 'HTTP/1.1 207 Multi-Status',
  239. ),
  240. ),
  241. 5 =>
  242. array (
  243. 'request' =>
  244. array (
  245. 'body' => '<?xml version="1.0" encoding="utf-8" ?>
  246. <D:propfind xmlns:D="DAV:">
  247. <D:prop>
  248. <D:creationdate/>
  249. <D:displayname/>
  250. <D:getcontentlength/>
  251. <D:getcontenttype/>
  252. <D:getetag/>
  253. <D:getlastmodified/>
  254. <D:resourcetype/>
  255. </D:prop>
  256. </D:propfind>',
  257. 'server' =>
  258. array (
  259. 'SERVER_SOFTWARE' => 'lighttpd/1.4.22',
  260. 'SERVER_NAME' => 'webdav',
  261. 'GATEWAY_INTERFACE' => 'CGI/1.1',
  262. 'SERVER_PORT' => '80',
  263. 'SERVER_ADDR' => '::ffff:127.0.1.1',
  264. 'REMOTE_PORT' => '33458',
  265. 'REMOTE_ADDR' => '::ffff:127.0.1.1',
  266. 'CONTENT_LENGTH' => '235',
  267. 'SCRIPT_NAME' => '/index.php',
  268. 'PATH_INFO' => '/secure_collection/',
  269. 'PATH_TRANSLATED' => '/home/dotxp/web/webdav/htdocs/secure_collection/',
  270. 'SCRIPT_FILENAME' => '/home/dotxp/web/webdav/htdocs/index.php',
  271. 'DOCUMENT_ROOT' => '/home/dotxp/web/webdav/htdocs/',
  272. 'REQUEST_URI' => '/secure_collection/',
  273. 'REDIRECT_URI' => '/index.php/secure_collection/',
  274. 'QUERY_STRING' => '',
  275. 'REQUEST_METHOD' => 'PROPFIND',
  276. 'REDIRECT_STATUS' => '200',
  277. 'SERVER_PROTOCOL' => 'HTTP/1.1',
  278. 'HTTP_HOST' => 'webdav',
  279. 'HTTP_DEPTH' => '1',
  280. 'CONTENT_TYPE' => 'application/xml',
  281. 'HTTP_APPLY_TO_REDIRECT_REF' => 'T',
  282. 'HTTP_USER_AGENT' => 'gvfs/1.4.1',
  283. 'HTTP_AUTHORIZATION' => 'Digest username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection/", algorithm="MD5", response="5d0e76245392bad2f54855e02b107190"',
  284. 'HTTP_CONTENT_LENGTH' => '235',
  285. 'PHP_SELF' => '/index.php/secure_collection/',
  286. 'PHP_AUTH_DIGEST' => 'username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection/", algorithm="MD5", response="5d0e76245392bad2f54855e02b107190"',
  287. 'REQUEST_TIME' => 1220431173,
  288. ),
  289. ),
  290. 'response' =>
  291. array (
  292. 'body' => '<?xml version="1.0" encoding="UTF-8"?>
  293. <D:multistatus xmlns:D="DAV:">
  294. <D:response>
  295. <D:href>/secure_collection/</D:href>
  296. <D:propstat>
  297. <D:prop>
  298. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  299. <D:displayname>secure_collection</D:displayname>
  300. <D:getcontenttype>httpd/unix-directory</D:getcontenttype>
  301. <D:getetag>74c66f56a6551ab5bfb885e7f32aeac7</D:getetag>
  302. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  303. <D:getcontentlength>4096</D:getcontentlength>
  304. <D:resourcetype>
  305. <D:collection/>
  306. </D:resourcetype>
  307. </D:prop>
  308. <D:status>HTTP/1.1 200 OK</D:status>
  309. </D:propstat>
  310. </D:response>
  311. <D:response>
  312. <D:href>/secure_collection/file.txt</D:href>
  313. <D:propstat>
  314. <D:prop>
  315. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  316. <D:displayname>file.txt</D:displayname>
  317. <D:getcontenttype>text/plain</D:getcontenttype>
  318. <D:getetag>915f244ec53702ea179db0509d787bde</D:getetag>
  319. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  320. <D:getcontentlength>18</D:getcontentlength>
  321. <D:resourcetype/>
  322. </D:prop>
  323. <D:status>HTTP/1.1 200 OK</D:status>
  324. </D:propstat>
  325. </D:response>
  326. <D:response>
  327. <D:href>/secure_collection/subdir</D:href>
  328. <D:propstat>
  329. <D:prop>
  330. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  331. <D:displayname>subdir</D:displayname>
  332. <D:getcontenttype>httpd/unix-directory</D:getcontenttype>
  333. <D:getetag>c5478175e232c6c35b72e28fb638de42</D:getetag>
  334. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  335. <D:getcontentlength>4096</D:getcontentlength>
  336. <D:resourcetype>
  337. <D:collection/>
  338. </D:resourcetype>
  339. </D:prop>
  340. <D:status>HTTP/1.1 200 OK</D:status>
  341. </D:propstat>
  342. </D:response>
  343. </D:multistatus>
  344. ',
  345. 'headers' =>
  346. array (
  347. 'Content-Type' => 'text/xml; charset="utf-8"',
  348. 'Server' => 'lighttpd/1.4.22/eZComponents/dev/ezcWebdavNautilusCompatibleTransportMock',
  349. ),
  350. 'status' => 'HTTP/1.1 207 Multi-Status',
  351. ),
  352. ),
  353. 6 =>
  354. array (
  355. 'request' =>
  356. array (
  357. 'body' => '<?xml version="1.0" encoding="utf-8" ?>
  358. <D:propfind xmlns:D="DAV:">
  359. <D:prop>
  360. <D:creationdate/>
  361. <D:displayname/>
  362. <D:getcontentlength/>
  363. <D:getcontenttype/>
  364. <D:getetag/>
  365. <D:getlastmodified/>
  366. <D:resourcetype/>
  367. </D:prop>
  368. </D:propfind>',
  369. 'server' =>
  370. array (
  371. 'SERVER_SOFTWARE' => 'lighttpd/1.4.22',
  372. 'SERVER_NAME' => 'webdav',
  373. 'GATEWAY_INTERFACE' => 'CGI/1.1',
  374. 'SERVER_PORT' => '80',
  375. 'SERVER_ADDR' => '::ffff:127.0.1.1',
  376. 'REMOTE_PORT' => '33458',
  377. 'REMOTE_ADDR' => '::ffff:127.0.1.1',
  378. 'CONTENT_LENGTH' => '235',
  379. 'SCRIPT_NAME' => '/index.php',
  380. 'PATH_INFO' => '/secure_collection',
  381. 'PATH_TRANSLATED' => '/home/dotxp/web/webdav/htdocs/secure_collection',
  382. 'SCRIPT_FILENAME' => '/home/dotxp/web/webdav/htdocs/index.php',
  383. 'DOCUMENT_ROOT' => '/home/dotxp/web/webdav/htdocs/',
  384. 'REQUEST_URI' => '/secure_collection',
  385. 'REDIRECT_URI' => '/index.php/secure_collection',
  386. 'QUERY_STRING' => '',
  387. 'REQUEST_METHOD' => 'PROPFIND',
  388. 'REDIRECT_STATUS' => '200',
  389. 'SERVER_PROTOCOL' => 'HTTP/1.1',
  390. 'HTTP_HOST' => 'webdav',
  391. 'HTTP_DEPTH' => '0',
  392. 'CONTENT_TYPE' => 'application/xml',
  393. 'HTTP_APPLY_TO_REDIRECT_REF' => 'T',
  394. 'HTTP_USER_AGENT' => 'gvfs/1.4.1',
  395. 'HTTP_AUTHORIZATION' => 'Digest username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection", algorithm="MD5", response="88149d9a9dce0a86cb5d0403cdea2df8"',
  396. 'HTTP_CONTENT_LENGTH' => '235',
  397. 'PHP_SELF' => '/index.php/secure_collection',
  398. 'PHP_AUTH_DIGEST' => 'username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection", algorithm="MD5", response="88149d9a9dce0a86cb5d0403cdea2df8"',
  399. 'REQUEST_TIME' => 1220431173,
  400. ),
  401. ),
  402. 'response' =>
  403. array (
  404. 'body' => '<?xml version="1.0" encoding="UTF-8"?>
  405. <D:multistatus xmlns:D="DAV:">
  406. <D:response>
  407. <D:href>/secure_collection</D:href>
  408. <D:propstat>
  409. <D:prop>
  410. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  411. <D:displayname>secure_collection</D:displayname>
  412. <D:getcontenttype>httpd/unix-directory</D:getcontenttype>
  413. <D:getetag>74c66f56a6551ab5bfb885e7f32aeac7</D:getetag>
  414. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  415. <D:getcontentlength>4096</D:getcontentlength>
  416. <D:resourcetype>
  417. <D:collection/>
  418. </D:resourcetype>
  419. </D:prop>
  420. <D:status>HTTP/1.1 200 OK</D:status>
  421. </D:propstat>
  422. </D:response>
  423. </D:multistatus>
  424. ',
  425. 'headers' =>
  426. array (
  427. 'Content-Type' => 'text/xml; charset="utf-8"',
  428. 'Server' => 'lighttpd/1.4.22/eZComponents/dev/ezcWebdavNautilusCompatibleTransportMock',
  429. ),
  430. 'status' => 'HTTP/1.1 207 Multi-Status',
  431. ),
  432. ),
  433. 7 =>
  434. array (
  435. 'request' =>
  436. array (
  437. 'body' => '<?xml version="1.0" encoding="utf-8" ?>
  438. <D:propfind xmlns:D="DAV:">
  439. <D:prop>
  440. <D:creationdate/>
  441. <D:displayname/>
  442. <D:getcontentlength/>
  443. <D:getcontenttype/>
  444. <D:getetag/>
  445. <D:getlastmodified/>
  446. <D:resourcetype/>
  447. </D:prop>
  448. </D:propfind>',
  449. 'server' =>
  450. array (
  451. 'SERVER_SOFTWARE' => 'lighttpd/1.4.22',
  452. 'SERVER_NAME' => 'webdav',
  453. 'GATEWAY_INTERFACE' => 'CGI/1.1',
  454. 'SERVER_PORT' => '80',
  455. 'SERVER_ADDR' => '::ffff:127.0.1.1',
  456. 'REMOTE_PORT' => '33458',
  457. 'REMOTE_ADDR' => '::ffff:127.0.1.1',
  458. 'CONTENT_LENGTH' => '235',
  459. 'SCRIPT_NAME' => '/index.php',
  460. 'PATH_INFO' => '/secure_collection',
  461. 'PATH_TRANSLATED' => '/home/dotxp/web/webdav/htdocs/secure_collection',
  462. 'SCRIPT_FILENAME' => '/home/dotxp/web/webdav/htdocs/index.php',
  463. 'DOCUMENT_ROOT' => '/home/dotxp/web/webdav/htdocs/',
  464. 'REQUEST_URI' => '/secure_collection',
  465. 'REDIRECT_URI' => '/index.php/secure_collection',
  466. 'QUERY_STRING' => '',
  467. 'REQUEST_METHOD' => 'PROPFIND',
  468. 'REDIRECT_STATUS' => '200',
  469. 'SERVER_PROTOCOL' => 'HTTP/1.1',
  470. 'HTTP_HOST' => 'webdav',
  471. 'HTTP_DEPTH' => '0',
  472. 'CONTENT_TYPE' => 'application/xml',
  473. 'HTTP_APPLY_TO_REDIRECT_REF' => 'T',
  474. 'HTTP_USER_AGENT' => 'gvfs/1.4.1',
  475. 'HTTP_AUTHORIZATION' => 'Digest username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection", algorithm="MD5", response="88149d9a9dce0a86cb5d0403cdea2df8"',
  476. 'HTTP_CONTENT_LENGTH' => '235',
  477. 'PHP_SELF' => '/index.php/secure_collection',
  478. 'PHP_AUTH_DIGEST' => 'username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection", algorithm="MD5", response="88149d9a9dce0a86cb5d0403cdea2df8"',
  479. 'REQUEST_TIME' => 1220431173,
  480. ),
  481. ),
  482. 'response' =>
  483. array (
  484. 'body' => '<?xml version="1.0" encoding="UTF-8"?>
  485. <D:multistatus xmlns:D="DAV:">
  486. <D:response>
  487. <D:href>/secure_collection</D:href>
  488. <D:propstat>
  489. <D:prop>
  490. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  491. <D:displayname>secure_collection</D:displayname>
  492. <D:getcontenttype>httpd/unix-directory</D:getcontenttype>
  493. <D:getetag>74c66f56a6551ab5bfb885e7f32aeac7</D:getetag>
  494. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  495. <D:getcontentlength>4096</D:getcontentlength>
  496. <D:resourcetype>
  497. <D:collection/>
  498. </D:resourcetype>
  499. </D:prop>
  500. <D:status>HTTP/1.1 200 OK</D:status>
  501. </D:propstat>
  502. </D:response>
  503. </D:multistatus>
  504. ',
  505. 'headers' =>
  506. array (
  507. 'Content-Type' => 'text/xml; charset="utf-8"',
  508. 'Server' => 'lighttpd/1.4.22/eZComponents/dev/ezcWebdavNautilusCompatibleTransportMock',
  509. ),
  510. 'status' => 'HTTP/1.1 207 Multi-Status',
  511. ),
  512. ),
  513. 8 =>
  514. array (
  515. 'request' =>
  516. array (
  517. 'body' => '<?xml version="1.0" encoding="utf-8" ?>
  518. <D:propfind xmlns:D="DAV:">
  519. <D:prop>
  520. <D:creationdate/>
  521. <D:displayname/>
  522. <D:getcontentlength/>
  523. <D:getcontenttype/>
  524. <D:getetag/>
  525. <D:getlastmodified/>
  526. <D:resourcetype/>
  527. </D:prop>
  528. </D:propfind>',
  529. 'server' =>
  530. array (
  531. 'SERVER_SOFTWARE' => 'lighttpd/1.4.22',
  532. 'SERVER_NAME' => 'webdav',
  533. 'GATEWAY_INTERFACE' => 'CGI/1.1',
  534. 'SERVER_PORT' => '80',
  535. 'SERVER_ADDR' => '::ffff:127.0.1.1',
  536. 'REMOTE_PORT' => '33458',
  537. 'REMOTE_ADDR' => '::ffff:127.0.1.1',
  538. 'CONTENT_LENGTH' => '235',
  539. 'SCRIPT_NAME' => '/index.php',
  540. 'PATH_INFO' => '/secure_collection',
  541. 'PATH_TRANSLATED' => '/home/dotxp/web/webdav/htdocs/secure_collection',
  542. 'SCRIPT_FILENAME' => '/home/dotxp/web/webdav/htdocs/index.php',
  543. 'DOCUMENT_ROOT' => '/home/dotxp/web/webdav/htdocs/',
  544. 'REQUEST_URI' => '/secure_collection',
  545. 'REDIRECT_URI' => '/index.php/secure_collection',
  546. 'QUERY_STRING' => '',
  547. 'REQUEST_METHOD' => 'PROPFIND',
  548. 'REDIRECT_STATUS' => '200',
  549. 'SERVER_PROTOCOL' => 'HTTP/1.1',
  550. 'HTTP_HOST' => 'webdav',
  551. 'HTTP_DEPTH' => '0',
  552. 'CONTENT_TYPE' => 'application/xml',
  553. 'HTTP_APPLY_TO_REDIRECT_REF' => 'T',
  554. 'HTTP_USER_AGENT' => 'gvfs/1.4.1',
  555. 'HTTP_AUTHORIZATION' => 'Digest username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection", algorithm="MD5", response="88149d9a9dce0a86cb5d0403cdea2df8"',
  556. 'HTTP_CONTENT_LENGTH' => '235',
  557. 'PHP_SELF' => '/index.php/secure_collection',
  558. 'PHP_AUTH_DIGEST' => 'username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection", algorithm="MD5", response="88149d9a9dce0a86cb5d0403cdea2df8"',
  559. 'REQUEST_TIME' => 1220431173,
  560. ),
  561. ),
  562. 'response' =>
  563. array (
  564. 'body' => '<?xml version="1.0" encoding="UTF-8"?>
  565. <D:multistatus xmlns:D="DAV:">
  566. <D:response>
  567. <D:href>/secure_collection</D:href>
  568. <D:propstat>
  569. <D:prop>
  570. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  571. <D:displayname>secure_collection</D:displayname>
  572. <D:getcontenttype>httpd/unix-directory</D:getcontenttype>
  573. <D:getetag>74c66f56a6551ab5bfb885e7f32aeac7</D:getetag>
  574. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  575. <D:getcontentlength>4096</D:getcontentlength>
  576. <D:resourcetype>
  577. <D:collection/>
  578. </D:resourcetype>
  579. </D:prop>
  580. <D:status>HTTP/1.1 200 OK</D:status>
  581. </D:propstat>
  582. </D:response>
  583. </D:multistatus>
  584. ',
  585. 'headers' =>
  586. array (
  587. 'Content-Type' => 'text/xml; charset="utf-8"',
  588. 'Server' => 'lighttpd/1.4.22/eZComponents/dev/ezcWebdavNautilusCompatibleTransportMock',
  589. ),
  590. 'status' => 'HTTP/1.1 207 Multi-Status',
  591. ),
  592. ),
  593. 9 =>
  594. array (
  595. 'request' =>
  596. array (
  597. 'body' => '<?xml version="1.0" encoding="utf-8" ?>
  598. <D:propfind xmlns:D="DAV:">
  599. <D:prop>
  600. <D:creationdate/>
  601. <D:displayname/>
  602. <D:getcontentlength/>
  603. <D:getcontenttype/>
  604. <D:getetag/>
  605. <D:getlastmodified/>
  606. <D:resourcetype/>
  607. </D:prop>
  608. </D:propfind>',
  609. 'server' =>
  610. array (
  611. 'SERVER_SOFTWARE' => 'lighttpd/1.4.22',
  612. 'SERVER_NAME' => 'webdav',
  613. 'GATEWAY_INTERFACE' => 'CGI/1.1',
  614. 'SERVER_PORT' => '80',
  615. 'SERVER_ADDR' => '::ffff:127.0.1.1',
  616. 'REMOTE_PORT' => '33458',
  617. 'REMOTE_ADDR' => '::ffff:127.0.1.1',
  618. 'CONTENT_LENGTH' => '235',
  619. 'SCRIPT_NAME' => '/index.php',
  620. 'PATH_INFO' => '/',
  621. 'PATH_TRANSLATED' => '/home/dotxp/web/webdav/htdocs/',
  622. 'SCRIPT_FILENAME' => '/home/dotxp/web/webdav/htdocs/index.php',
  623. 'DOCUMENT_ROOT' => '/home/dotxp/web/webdav/htdocs/',
  624. 'REQUEST_URI' => '/',
  625. 'REDIRECT_URI' => '/index.php/',
  626. 'QUERY_STRING' => '',
  627. 'REQUEST_METHOD' => 'PROPFIND',
  628. 'REDIRECT_STATUS' => '200',
  629. 'SERVER_PROTOCOL' => 'HTTP/1.1',
  630. 'HTTP_HOST' => 'webdav',
  631. 'HTTP_DEPTH' => '1',
  632. 'CONTENT_TYPE' => 'application/xml',
  633. 'HTTP_APPLY_TO_REDIRECT_REF' => 'T',
  634. 'HTTP_USER_AGENT' => 'gvfs/1.4.1',
  635. 'HTTP_AUTHORIZATION' => 'Digest username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/", algorithm="MD5", response="262aebc2e7168e2fb46d4c4abefb3d71"',
  636. 'HTTP_CONTENT_LENGTH' => '235',
  637. 'PHP_SELF' => '/index.php/',
  638. 'PHP_AUTH_DIGEST' => 'username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/", algorithm="MD5", response="262aebc2e7168e2fb46d4c4abefb3d71"',
  639. 'REQUEST_TIME' => 1220431173,
  640. ),
  641. ),
  642. 'response' =>
  643. array (
  644. 'body' => '<?xml version="1.0" encoding="UTF-8"?>
  645. <D:multistatus xmlns:D="DAV:">
  646. <D:response>
  647. <D:href>/</D:href>
  648. <D:propstat>
  649. <D:prop>
  650. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  651. <D:displayname></D:displayname>
  652. <D:getcontenttype>httpd/unix-directory</D:getcontenttype>
  653. <D:getetag>6666cd76f96956469e7be39d750cc7d9</D:getetag>
  654. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  655. <D:getcontentlength>4096</D:getcontentlength>
  656. <D:resourcetype>
  657. <D:collection/>
  658. </D:resourcetype>
  659. </D:prop>
  660. <D:status>HTTP/1.1 200 OK</D:status>
  661. </D:propstat>
  662. </D:response>
  663. <D:response>
  664. <D:href>/collection</D:href>
  665. <D:propstat>
  666. <D:prop>
  667. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  668. <D:displayname>collection</D:displayname>
  669. <D:getcontenttype>httpd/unix-directory</D:getcontenttype>
  670. <D:getetag>9696c0fa460d4ed148cb40b2e8388c1e</D:getetag>
  671. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  672. <D:getcontentlength>4096</D:getcontentlength>
  673. <D:resourcetype>
  674. <D:collection/>
  675. </D:resourcetype>
  676. </D:prop>
  677. <D:status>HTTP/1.1 200 OK</D:status>
  678. </D:propstat>
  679. </D:response>
  680. <D:response>
  681. <D:href>/secure_collection</D:href>
  682. <D:propstat>
  683. <D:prop>
  684. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  685. <D:displayname>secure_collection</D:displayname>
  686. <D:getcontenttype>httpd/unix-directory</D:getcontenttype>
  687. <D:getetag>74c66f56a6551ab5bfb885e7f32aeac7</D:getetag>
  688. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  689. <D:getcontentlength>4096</D:getcontentlength>
  690. <D:resourcetype>
  691. <D:collection/>
  692. </D:resourcetype>
  693. </D:prop>
  694. <D:status>HTTP/1.1 200 OK</D:status>
  695. </D:propstat>
  696. </D:response>
  697. <D:response>
  698. <D:href>/file.xml</D:href>
  699. <D:propstat>
  700. <D:prop>
  701. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  702. <D:displayname>file.xml</D:displayname>
  703. <D:getcontenttype>text/xml</D:getcontenttype>
  704. <D:getetag>b0c5faef67f106ef634ad2a82e838b95</D:getetag>
  705. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  706. <D:getcontentlength>19</D:getcontentlength>
  707. <D:resourcetype/>
  708. </D:prop>
  709. <D:status>HTTP/1.1 200 OK</D:status>
  710. </D:propstat>
  711. </D:response>
  712. <D:response>
  713. <D:href>/file.bin</D:href>
  714. <D:propstat>
  715. <D:prop>
  716. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  717. <D:displayname>file.bin</D:displayname>
  718. <D:getcontenttype>application/octet-stream</D:getcontenttype>
  719. <D:getetag>68eab65ab82e7e474811d5d2dd879679</D:getetag>
  720. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  721. <D:getcontentlength>7</D:getcontentlength>
  722. <D:resourcetype/>
  723. </D:prop>
  724. <D:status>HTTP/1.1 200 OK</D:status>
  725. </D:propstat>
  726. </D:response>
  727. </D:multistatus>
  728. ',
  729. 'headers' =>
  730. array (
  731. 'Content-Type' => 'text/xml; charset="utf-8"',
  732. 'Server' => 'lighttpd/1.4.22/eZComponents/dev/ezcWebdavNautilusCompatibleTransportMock',
  733. ),
  734. 'status' => 'HTTP/1.1 207 Multi-Status',
  735. ),
  736. ),
  737. 10 =>
  738. array (
  739. 'request' =>
  740. array (
  741. 'body' => '<?xml version="1.0" encoding="utf-8" ?>
  742. <D:propfind xmlns:D="DAV:">
  743. <D:prop>
  744. <D:creationdate/>
  745. <D:displayname/>
  746. <D:getcontentlength/>
  747. <D:getcontenttype/>
  748. <D:getetag/>
  749. <D:getlastmodified/>
  750. <D:resourcetype/>
  751. </D:prop>
  752. </D:propfind>',
  753. 'server' =>
  754. array (
  755. 'SERVER_SOFTWARE' => 'lighttpd/1.4.22',
  756. 'SERVER_NAME' => 'webdav',
  757. 'GATEWAY_INTERFACE' => 'CGI/1.1',
  758. 'SERVER_PORT' => '80',
  759. 'SERVER_ADDR' => '::ffff:127.0.1.1',
  760. 'REMOTE_PORT' => '33458',
  761. 'REMOTE_ADDR' => '::ffff:127.0.1.1',
  762. 'CONTENT_LENGTH' => '235',
  763. 'SCRIPT_NAME' => '/index.php',
  764. 'PATH_INFO' => '/secure_collection/',
  765. 'PATH_TRANSLATED' => '/home/dotxp/web/webdav/htdocs/secure_collection/',
  766. 'SCRIPT_FILENAME' => '/home/dotxp/web/webdav/htdocs/index.php',
  767. 'DOCUMENT_ROOT' => '/home/dotxp/web/webdav/htdocs/',
  768. 'REQUEST_URI' => '/secure_collection/',
  769. 'REDIRECT_URI' => '/index.php/secure_collection/',
  770. 'QUERY_STRING' => '',
  771. 'REQUEST_METHOD' => 'PROPFIND',
  772. 'REDIRECT_STATUS' => '200',
  773. 'SERVER_PROTOCOL' => 'HTTP/1.1',
  774. 'HTTP_HOST' => 'webdav',
  775. 'HTTP_DEPTH' => '1',
  776. 'CONTENT_TYPE' => 'application/xml',
  777. 'HTTP_APPLY_TO_REDIRECT_REF' => 'T',
  778. 'HTTP_USER_AGENT' => 'gvfs/1.4.1',
  779. 'HTTP_AUTHORIZATION' => 'Digest username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection/", algorithm="MD5", response="5d0e76245392bad2f54855e02b107190"',
  780. 'HTTP_CONTENT_LENGTH' => '235',
  781. 'PHP_SELF' => '/index.php/secure_collection/',
  782. 'PHP_AUTH_DIGEST' => 'username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection/", algorithm="MD5", response="5d0e76245392bad2f54855e02b107190"',
  783. 'REQUEST_TIME' => 1220431173,
  784. ),
  785. ),
  786. 'response' =>
  787. array (
  788. 'body' => '<?xml version="1.0" encoding="UTF-8"?>
  789. <D:multistatus xmlns:D="DAV:">
  790. <D:response>
  791. <D:href>/secure_collection/</D:href>
  792. <D:propstat>
  793. <D:prop>
  794. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  795. <D:displayname>secure_collection</D:displayname>
  796. <D:getcontenttype>httpd/unix-directory</D:getcontenttype>
  797. <D:getetag>74c66f56a6551ab5bfb885e7f32aeac7</D:getetag>
  798. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  799. <D:getcontentlength>4096</D:getcontentlength>
  800. <D:resourcetype>
  801. <D:collection/>
  802. </D:resourcetype>
  803. </D:prop>
  804. <D:status>HTTP/1.1 200 OK</D:status>
  805. </D:propstat>
  806. </D:response>
  807. <D:response>
  808. <D:href>/secure_collection/file.txt</D:href>
  809. <D:propstat>
  810. <D:prop>
  811. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  812. <D:displayname>file.txt</D:displayname>
  813. <D:getcontenttype>text/plain</D:getcontenttype>
  814. <D:getetag>915f244ec53702ea179db0509d787bde</D:getetag>
  815. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  816. <D:getcontentlength>18</D:getcontentlength>
  817. <D:resourcetype/>
  818. </D:prop>
  819. <D:status>HTTP/1.1 200 OK</D:status>
  820. </D:propstat>
  821. </D:response>
  822. <D:response>
  823. <D:href>/secure_collection/subdir</D:href>
  824. <D:propstat>
  825. <D:prop>
  826. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  827. <D:displayname>subdir</D:displayname>
  828. <D:getcontenttype>httpd/unix-directory</D:getcontenttype>
  829. <D:getetag>c5478175e232c6c35b72e28fb638de42</D:getetag>
  830. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  831. <D:getcontentlength>4096</D:getcontentlength>
  832. <D:resourcetype>
  833. <D:collection/>
  834. </D:resourcetype>
  835. </D:prop>
  836. <D:status>HTTP/1.1 200 OK</D:status>
  837. </D:propstat>
  838. </D:response>
  839. </D:multistatus>
  840. ',
  841. 'headers' =>
  842. array (
  843. 'Content-Type' => 'text/xml; charset="utf-8"',
  844. 'Server' => 'lighttpd/1.4.22/eZComponents/dev/ezcWebdavNautilusCompatibleTransportMock',
  845. ),
  846. 'status' => 'HTTP/1.1 207 Multi-Status',
  847. ),
  848. ),
  849. 11 =>
  850. array (
  851. 'request' =>
  852. array (
  853. 'body' => '<?xml version="1.0" encoding="utf-8" ?>
  854. <D:propfind xmlns:D="DAV:">
  855. <D:prop>
  856. <D:creationdate/>
  857. <D:displayname/>
  858. <D:getcontentlength/>
  859. <D:getcontenttype/>
  860. <D:getetag/>
  861. <D:getlastmodified/>
  862. <D:resourcetype/>
  863. </D:prop>
  864. </D:propfind>',
  865. 'server' =>
  866. array (
  867. 'SERVER_SOFTWARE' => 'lighttpd/1.4.22',
  868. 'SERVER_NAME' => 'webdav',
  869. 'GATEWAY_INTERFACE' => 'CGI/1.1',
  870. 'SERVER_PORT' => '80',
  871. 'SERVER_ADDR' => '::ffff:127.0.1.1',
  872. 'REMOTE_PORT' => '33458',
  873. 'REMOTE_ADDR' => '::ffff:127.0.1.1',
  874. 'CONTENT_LENGTH' => '235',
  875. 'SCRIPT_NAME' => '/index.php',
  876. 'PATH_INFO' => '/secure_collection/subdir',
  877. 'PATH_TRANSLATED' => '/home/dotxp/web/webdav/htdocs/secure_collection/subdir',
  878. 'SCRIPT_FILENAME' => '/home/dotxp/web/webdav/htdocs/index.php',
  879. 'DOCUMENT_ROOT' => '/home/dotxp/web/webdav/htdocs/',
  880. 'REQUEST_URI' => '/secure_collection/subdir',
  881. 'REDIRECT_URI' => '/index.php/secure_collection/subdir',
  882. 'QUERY_STRING' => '',
  883. 'REQUEST_METHOD' => 'PROPFIND',
  884. 'REDIRECT_STATUS' => '200',
  885. 'SERVER_PROTOCOL' => 'HTTP/1.1',
  886. 'HTTP_HOST' => 'webdav',
  887. 'HTTP_DEPTH' => '0',
  888. 'CONTENT_TYPE' => 'application/xml',
  889. 'HTTP_APPLY_TO_REDIRECT_REF' => 'T',
  890. 'HTTP_USER_AGENT' => 'gvfs/1.4.1',
  891. 'HTTP_AUTHORIZATION' => 'Digest username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection/subdir", algorithm="MD5", response="9386d3cd22fe2aa4109e6ea9950e5bc2"',
  892. 'HTTP_CONTENT_LENGTH' => '235',
  893. 'PHP_SELF' => '/index.php/secure_collection/subdir',
  894. 'PHP_AUTH_DIGEST' => 'username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection/subdir", algorithm="MD5", response="9386d3cd22fe2aa4109e6ea9950e5bc2"',
  895. 'REQUEST_TIME' => 1220431173,
  896. ),
  897. ),
  898. 'response' =>
  899. array (
  900. 'body' => '<?xml version="1.0" encoding="UTF-8"?>
  901. <D:multistatus xmlns:D="DAV:">
  902. <D:response>
  903. <D:href>/secure_collection/subdir</D:href>
  904. <D:propstat>
  905. <D:prop>
  906. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  907. <D:displayname>subdir</D:displayname>
  908. <D:getcontenttype>httpd/unix-directory</D:getcontenttype>
  909. <D:getetag>c5478175e232c6c35b72e28fb638de42</D:getetag>
  910. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  911. <D:getcontentlength>4096</D:getcontentlength>
  912. <D:resourcetype>
  913. <D:collection/>
  914. </D:resourcetype>
  915. </D:prop>
  916. <D:status>HTTP/1.1 200 OK</D:status>
  917. </D:propstat>
  918. </D:response>
  919. </D:multistatus>
  920. ',
  921. 'headers' =>
  922. array (
  923. 'Content-Type' => 'text/xml; charset="utf-8"',
  924. 'Server' => 'lighttpd/1.4.22/eZComponents/dev/ezcWebdavNautilusCompatibleTransportMock',
  925. ),
  926. 'status' => 'HTTP/1.1 207 Multi-Status',
  927. ),
  928. ),
  929. 12 =>
  930. array (
  931. 'request' =>
  932. array (
  933. 'body' => '<?xml version="1.0" encoding="utf-8" ?>
  934. <D:propfind xmlns:D="DAV:">
  935. <D:prop>
  936. <D:creationdate/>
  937. <D:displayname/>
  938. <D:getcontentlength/>
  939. <D:getcontenttype/>
  940. <D:getetag/>
  941. <D:getlastmodified/>
  942. <D:resourcetype/>
  943. </D:prop>
  944. </D:propfind>',
  945. 'server' =>
  946. array (
  947. 'SERVER_SOFTWARE' => 'lighttpd/1.4.22',
  948. 'SERVER_NAME' => 'webdav',
  949. 'GATEWAY_INTERFACE' => 'CGI/1.1',
  950. 'SERVER_PORT' => '80',
  951. 'SERVER_ADDR' => '::ffff:127.0.1.1',
  952. 'REMOTE_PORT' => '33458',
  953. 'REMOTE_ADDR' => '::ffff:127.0.1.1',
  954. 'CONTENT_LENGTH' => '235',
  955. 'SCRIPT_NAME' => '/index.php',
  956. 'PATH_INFO' => '/secure_collection',
  957. 'PATH_TRANSLATED' => '/home/dotxp/web/webdav/htdocs/secure_collection',
  958. 'SCRIPT_FILENAME' => '/home/dotxp/web/webdav/htdocs/index.php',
  959. 'DOCUMENT_ROOT' => '/home/dotxp/web/webdav/htdocs/',
  960. 'REQUEST_URI' => '/secure_collection',
  961. 'REDIRECT_URI' => '/index.php/secure_collection',
  962. 'QUERY_STRING' => '',
  963. 'REQUEST_METHOD' => 'PROPFIND',
  964. 'REDIRECT_STATUS' => '200',
  965. 'SERVER_PROTOCOL' => 'HTTP/1.1',
  966. 'HTTP_HOST' => 'webdav',
  967. 'HTTP_DEPTH' => '0',
  968. 'CONTENT_TYPE' => 'application/xml',
  969. 'HTTP_APPLY_TO_REDIRECT_REF' => 'T',
  970. 'HTTP_USER_AGENT' => 'gvfs/1.4.1',
  971. 'HTTP_AUTHORIZATION' => 'Digest username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection", algorithm="MD5", response="88149d9a9dce0a86cb5d0403cdea2df8"',
  972. 'HTTP_CONTENT_LENGTH' => '235',
  973. 'PHP_SELF' => '/index.php/secure_collection',
  974. 'PHP_AUTH_DIGEST' => 'username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection", algorithm="MD5", response="88149d9a9dce0a86cb5d0403cdea2df8"',
  975. 'REQUEST_TIME' => 1220431173,
  976. ),
  977. ),
  978. 'response' =>
  979. array (
  980. 'body' => '<?xml version="1.0" encoding="UTF-8"?>
  981. <D:multistatus xmlns:D="DAV:">
  982. <D:response>
  983. <D:href>/secure_collection</D:href>
  984. <D:propstat>
  985. <D:prop>
  986. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  987. <D:displayname>secure_collection</D:displayname>
  988. <D:getcontenttype>httpd/unix-directory</D:getcontenttype>
  989. <D:getetag>74c66f56a6551ab5bfb885e7f32aeac7</D:getetag>
  990. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  991. <D:getcontentlength>4096</D:getcontentlength>
  992. <D:resourcetype>
  993. <D:collection/>
  994. </D:resourcetype>
  995. </D:prop>
  996. <D:status>HTTP/1.1 200 OK</D:status>
  997. </D:propstat>
  998. </D:response>
  999. </D:multistatus>
  1000. ',
  1001. 'headers' =>
  1002. array (
  1003. 'Content-Type' => 'text/xml; charset="utf-8"',
  1004. 'Server' => 'lighttpd/1.4.22/eZComponents/dev/ezcWebdavNautilusCompatibleTransportMock',
  1005. ),
  1006. 'status' => 'HTTP/1.1 207 Multi-Status',
  1007. ),
  1008. ),
  1009. 13 =>
  1010. array (
  1011. 'request' =>
  1012. array (
  1013. 'body' => '<?xml version="1.0" encoding="utf-8" ?>
  1014. <D:propfind xmlns:D="DAV:">
  1015. <D:prop>
  1016. <D:creationdate/>
  1017. <D:displayname/>
  1018. <D:getcontentlength/>
  1019. <D:getcontenttype/>
  1020. <D:getetag/>
  1021. <D:getlastmodified/>
  1022. <D:resourcetype/>
  1023. </D:prop>
  1024. </D:propfind>',
  1025. 'server' =>
  1026. array (
  1027. 'SERVER_SOFTWARE' => 'lighttpd/1.4.22',
  1028. 'SERVER_NAME' => 'webdav',
  1029. 'GATEWAY_INTERFACE' => 'CGI/1.1',
  1030. 'SERVER_PORT' => '80',
  1031. 'SERVER_ADDR' => '::ffff:127.0.1.1',
  1032. 'REMOTE_PORT' => '33458',
  1033. 'REMOTE_ADDR' => '::ffff:127.0.1.1',
  1034. 'CONTENT_LENGTH' => '235',
  1035. 'SCRIPT_NAME' => '/index.php',
  1036. 'PATH_INFO' => '/secure_collection',
  1037. 'PATH_TRANSLATED' => '/home/dotxp/web/webdav/htdocs/secure_collection',
  1038. 'SCRIPT_FILENAME' => '/home/dotxp/web/webdav/htdocs/index.php',
  1039. 'DOCUMENT_ROOT' => '/home/dotxp/web/webdav/htdocs/',
  1040. 'REQUEST_URI' => '/secure_collection',
  1041. 'REDIRECT_URI' => '/index.php/secure_collection',
  1042. 'QUERY_STRING' => '',
  1043. 'REQUEST_METHOD' => 'PROPFIND',
  1044. 'REDIRECT_STATUS' => '200',
  1045. 'SERVER_PROTOCOL' => 'HTTP/1.1',
  1046. 'HTTP_HOST' => 'webdav',
  1047. 'HTTP_DEPTH' => '0',
  1048. 'CONTENT_TYPE' => 'application/xml',
  1049. 'HTTP_APPLY_TO_REDIRECT_REF' => 'T',
  1050. 'HTTP_USER_AGENT' => 'gvfs/1.4.1',
  1051. 'HTTP_AUTHORIZATION' => 'Digest username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection", algorithm="MD5", response="88149d9a9dce0a86cb5d0403cdea2df8"',
  1052. 'HTTP_CONTENT_LENGTH' => '235',
  1053. 'PHP_SELF' => '/index.php/secure_collection',
  1054. 'PHP_AUTH_DIGEST' => 'username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection", algorithm="MD5", response="88149d9a9dce0a86cb5d0403cdea2df8"',
  1055. 'REQUEST_TIME' => 1220431173,
  1056. ),
  1057. ),
  1058. 'response' =>
  1059. array (
  1060. 'body' => '<?xml version="1.0" encoding="UTF-8"?>
  1061. <D:multistatus xmlns:D="DAV:">
  1062. <D:response>
  1063. <D:href>/secure_collection</D:href>
  1064. <D:propstat>
  1065. <D:prop>
  1066. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  1067. <D:displayname>secure_collection</D:displayname>
  1068. <D:getcontenttype>httpd/unix-directory</D:getcontenttype>
  1069. <D:getetag>74c66f56a6551ab5bfb885e7f32aeac7</D:getetag>
  1070. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  1071. <D:getcontentlength>4096</D:getcontentlength>
  1072. <D:resourcetype>
  1073. <D:collection/>
  1074. </D:resourcetype>
  1075. </D:prop>
  1076. <D:status>HTTP/1.1 200 OK</D:status>
  1077. </D:propstat>
  1078. </D:response>
  1079. </D:multistatus>
  1080. ',
  1081. 'headers' =>
  1082. array (
  1083. 'Content-Type' => 'text/xml; charset="utf-8"',
  1084. 'Server' => 'lighttpd/1.4.22/eZComponents/dev/ezcWebdavNautilusCompatibleTransportMock',
  1085. ),
  1086. 'status' => 'HTTP/1.1 207 Multi-Status',
  1087. ),
  1088. ),
  1089. 14 =>
  1090. array (
  1091. 'request' =>
  1092. array (
  1093. 'body' => '<?xml version="1.0" encoding="utf-8" ?>
  1094. <D:propfind xmlns:D="DAV:">
  1095. <D:prop>
  1096. <D:creationdate/>
  1097. <D:displayname/>
  1098. <D:getcontentlength/>
  1099. <D:getcontenttype/>
  1100. <D:getetag/>
  1101. <D:getlastmodified/>
  1102. <D:resourcetype/>
  1103. </D:prop>
  1104. </D:propfind>',
  1105. 'server' =>
  1106. array (
  1107. 'SERVER_SOFTWARE' => 'lighttpd/1.4.22',
  1108. 'SERVER_NAME' => 'webdav',
  1109. 'GATEWAY_INTERFACE' => 'CGI/1.1',
  1110. 'SERVER_PORT' => '80',
  1111. 'SERVER_ADDR' => '::ffff:127.0.1.1',
  1112. 'REMOTE_PORT' => '33458',
  1113. 'REMOTE_ADDR' => '::ffff:127.0.1.1',
  1114. 'CONTENT_LENGTH' => '235',
  1115. 'SCRIPT_NAME' => '/index.php',
  1116. 'PATH_INFO' => '/secure_collection',
  1117. 'PATH_TRANSLATED' => '/home/dotxp/web/webdav/htdocs/secure_collection',
  1118. 'SCRIPT_FILENAME' => '/home/dotxp/web/webdav/htdocs/index.php',
  1119. 'DOCUMENT_ROOT' => '/home/dotxp/web/webdav/htdocs/',
  1120. 'REQUEST_URI' => '/secure_collection',
  1121. 'REDIRECT_URI' => '/index.php/secure_collection',
  1122. 'QUERY_STRING' => '',
  1123. 'REQUEST_METHOD' => 'PROPFIND',
  1124. 'REDIRECT_STATUS' => '200',
  1125. 'SERVER_PROTOCOL' => 'HTTP/1.1',
  1126. 'HTTP_HOST' => 'webdav',
  1127. 'HTTP_DEPTH' => '0',
  1128. 'CONTENT_TYPE' => 'application/xml',
  1129. 'HTTP_APPLY_TO_REDIRECT_REF' => 'T',
  1130. 'HTTP_USER_AGENT' => 'gvfs/1.4.1',
  1131. 'HTTP_AUTHORIZATION' => 'Digest username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection", algorithm="MD5", response="88149d9a9dce0a86cb5d0403cdea2df8"',
  1132. 'HTTP_CONTENT_LENGTH' => '235',
  1133. 'PHP_SELF' => '/index.php/secure_collection',
  1134. 'PHP_AUTH_DIGEST' => 'username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection", algorithm="MD5", response="88149d9a9dce0a86cb5d0403cdea2df8"',
  1135. 'REQUEST_TIME' => 1220431173,
  1136. ),
  1137. ),
  1138. 'response' =>
  1139. array (
  1140. 'body' => '<?xml version="1.0" encoding="UTF-8"?>
  1141. <D:multistatus xmlns:D="DAV:">
  1142. <D:response>
  1143. <D:href>/secure_collection</D:href>
  1144. <D:propstat>
  1145. <D:prop>
  1146. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  1147. <D:displayname>secure_collection</D:displayname>
  1148. <D:getcontenttype>httpd/unix-directory</D:getcontenttype>
  1149. <D:getetag>74c66f56a6551ab5bfb885e7f32aeac7</D:getetag>
  1150. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  1151. <D:getcontentlength>4096</D:getcontentlength>
  1152. <D:resourcetype>
  1153. <D:collection/>
  1154. </D:resourcetype>
  1155. </D:prop>
  1156. <D:status>HTTP/1.1 200 OK</D:status>
  1157. </D:propstat>
  1158. </D:response>
  1159. </D:multistatus>
  1160. ',
  1161. 'headers' =>
  1162. array (
  1163. 'Content-Type' => 'text/xml; charset="utf-8"',
  1164. 'Server' => 'lighttpd/1.4.22/eZComponents/dev/ezcWebdavNautilusCompatibleTransportMock',
  1165. ),
  1166. 'status' => 'HTTP/1.1 207 Multi-Status',
  1167. ),
  1168. ),
  1169. 15 =>
  1170. array (
  1171. 'request' =>
  1172. array (
  1173. 'body' => '<?xml version="1.0" encoding="utf-8" ?>
  1174. <D:propfind xmlns:D="DAV:">
  1175. <D:prop>
  1176. <D:creationdate/>
  1177. <D:displayname/>
  1178. <D:getcontentlength/>
  1179. <D:getcontenttype/>
  1180. <D:getetag/>
  1181. <D:getlastmodified/>
  1182. <D:resourcetype/>
  1183. </D:prop>
  1184. </D:propfind>',
  1185. 'server' =>
  1186. array (
  1187. 'SERVER_SOFTWARE' => 'lighttpd/1.4.22',
  1188. 'SERVER_NAME' => 'webdav',
  1189. 'GATEWAY_INTERFACE' => 'CGI/1.1',
  1190. 'SERVER_PORT' => '80',
  1191. 'SERVER_ADDR' => '::ffff:127.0.1.1',
  1192. 'REMOTE_PORT' => '33458',
  1193. 'REMOTE_ADDR' => '::ffff:127.0.1.1',
  1194. 'CONTENT_LENGTH' => '235',
  1195. 'SCRIPT_NAME' => '/index.php',
  1196. 'PATH_INFO' => '/secure_collection',
  1197. 'PATH_TRANSLATED' => '/home/dotxp/web/webdav/htdocs/secure_collection',
  1198. 'SCRIPT_FILENAME' => '/home/dotxp/web/webdav/htdocs/index.php',
  1199. 'DOCUMENT_ROOT' => '/home/dotxp/web/webdav/htdocs/',
  1200. 'REQUEST_URI' => '/secure_collection',
  1201. 'REDIRECT_URI' => '/index.php/secure_collection',
  1202. 'QUERY_STRING' => '',
  1203. 'REQUEST_METHOD' => 'PROPFIND',
  1204. 'REDIRECT_STATUS' => '200',
  1205. 'SERVER_PROTOCOL' => 'HTTP/1.1',
  1206. 'HTTP_HOST' => 'webdav',
  1207. 'HTTP_DEPTH' => '0',
  1208. 'CONTENT_TYPE' => 'application/xml',
  1209. 'HTTP_APPLY_TO_REDIRECT_REF' => 'T',
  1210. 'HTTP_USER_AGENT' => 'gvfs/1.4.1',
  1211. 'HTTP_AUTHORIZATION' => 'Digest username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection", algorithm="MD5", response="88149d9a9dce0a86cb5d0403cdea2df8"',
  1212. 'HTTP_CONTENT_LENGTH' => '235',
  1213. 'PHP_SELF' => '/index.php/secure_collection',
  1214. 'PHP_AUTH_DIGEST' => 'username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection", algorithm="MD5", response="88149d9a9dce0a86cb5d0403cdea2df8"',
  1215. 'REQUEST_TIME' => 1220431173,
  1216. ),
  1217. ),
  1218. 'response' =>
  1219. array (
  1220. 'body' => '<?xml version="1.0" encoding="UTF-8"?>
  1221. <D:multistatus xmlns:D="DAV:">
  1222. <D:response>
  1223. <D:href>/secure_collection</D:href>
  1224. <D:propstat>
  1225. <D:prop>
  1226. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  1227. <D:displayname>secure_collection</D:displayname>
  1228. <D:getcontenttype>httpd/unix-directory</D:getcontenttype>
  1229. <D:getetag>74c66f56a6551ab5bfb885e7f32aeac7</D:getetag>
  1230. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  1231. <D:getcontentlength>4096</D:getcontentlength>
  1232. <D:resourcetype>
  1233. <D:collection/>
  1234. </D:resourcetype>
  1235. </D:prop>
  1236. <D:status>HTTP/1.1 200 OK</D:status>
  1237. </D:propstat>
  1238. </D:response>
  1239. </D:multistatus>
  1240. ',
  1241. 'headers' =>
  1242. array (
  1243. 'Content-Type' => 'text/xml; charset="utf-8"',
  1244. 'Server' => 'lighttpd/1.4.22/eZComponents/dev/ezcWebdavNautilusCompatibleTransportMock',
  1245. ),
  1246. 'status' => 'HTTP/1.1 207 Multi-Status',
  1247. ),
  1248. ),
  1249. 16 =>
  1250. array (
  1251. 'request' =>
  1252. array (
  1253. 'body' => '<?xml version="1.0" encoding="utf-8" ?>
  1254. <D:propfind xmlns:D="DAV:">
  1255. <D:prop>
  1256. <D:creationdate/>
  1257. <D:displayname/>
  1258. <D:getcontentlength/>
  1259. <D:getcontenttype/>
  1260. <D:getetag/>
  1261. <D:getlastmodified/>
  1262. <D:resourcetype/>
  1263. </D:prop>
  1264. </D:propfind>',
  1265. 'server' =>
  1266. array (
  1267. 'SERVER_SOFTWARE' => 'lighttpd/1.4.22',
  1268. 'SERVER_NAME' => 'webdav',
  1269. 'GATEWAY_INTERFACE' => 'CGI/1.1',
  1270. 'SERVER_PORT' => '80',
  1271. 'SERVER_ADDR' => '::ffff:127.0.1.1',
  1272. 'REMOTE_PORT' => '33458',
  1273. 'REMOTE_ADDR' => '::ffff:127.0.1.1',
  1274. 'CONTENT_LENGTH' => '235',
  1275. 'SCRIPT_NAME' => '/index.php',
  1276. 'PATH_INFO' => '/secure_collection',
  1277. 'PATH_TRANSLATED' => '/home/dotxp/web/webdav/htdocs/secure_collection',
  1278. 'SCRIPT_FILENAME' => '/home/dotxp/web/webdav/htdocs/index.php',
  1279. 'DOCUMENT_ROOT' => '/home/dotxp/web/webdav/htdocs/',
  1280. 'REQUEST_URI' => '/secure_collection',
  1281. 'REDIRECT_URI' => '/index.php/secure_collection',
  1282. 'QUERY_STRING' => '',
  1283. 'REQUEST_METHOD' => 'PROPFIND',
  1284. 'REDIRECT_STATUS' => '200',
  1285. 'SERVER_PROTOCOL' => 'HTTP/1.1',
  1286. 'HTTP_HOST' => 'webdav',
  1287. 'HTTP_DEPTH' => '0',
  1288. 'CONTENT_TYPE' => 'application/xml',
  1289. 'HTTP_APPLY_TO_REDIRECT_REF' => 'T',
  1290. 'HTTP_USER_AGENT' => 'gvfs/1.4.1',
  1291. 'HTTP_AUTHORIZATION' => 'Digest username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection", algorithm="MD5", response="88149d9a9dce0a86cb5d0403cdea2df8"',
  1292. 'HTTP_CONTENT_LENGTH' => '235',
  1293. 'PHP_SELF' => '/index.php/secure_collection',
  1294. 'PHP_AUTH_DIGEST' => 'username="some", realm="eZ Components WebDAV", nonce="e9dd31afee380a43304ac1a56a319a32", uri="/secure_collection", algorithm="MD5", response="88149d9a9dce0a86cb5d0403cdea2df8"',
  1295. 'REQUEST_TIME' => 1220431173,
  1296. ),
  1297. ),
  1298. 'response' =>
  1299. array (
  1300. 'body' => '<?xml version="1.0" encoding="UTF-8"?>
  1301. <D:multistatus xmlns:D="DAV:">
  1302. <D:response>
  1303. <D:href>/secure_collection</D:href>
  1304. <D:propstat>
  1305. <D:prop>
  1306. <D:creationdate>2003-05-27T11:27:00+0000</D:creationdate>
  1307. <D:displayname>secure_collection</D:displayname>
  1308. <D:getcontenttype>httpd/unix-directory</D:getcontenttype>
  1309. <D:getetag>74c66f56a6551ab5bfb885e7f32aeac7</D:getetag>
  1310. <D:getlastmodified>Mon, 15 Aug 2005 15:13:00 +0000</D:getlastmodified>
  1311. <D:getcontentlength>4096</D:getcontentlength>
  1312. <D:resourcetype>
  1313. <D:collection/>
  1314. </D:resourcetype>
  1315. </D:prop>
  1316. <D:status>HTTP/1.1 200 OK</D:status>
  1317. </D:propstat>
  1318. </D:response>
  1319. </D:multistatus>
  1320. ',
  1321. 'headers' =>
  1322. array (
  1323. 'Content-Type' => 'text/xml; charset="utf-8"',
  1324. 'Server' => 'lighttpd/1.4.22/eZComponents/dev/ezcWebdavNautilusCompatibleTransportMock',
  1325. ),
  1326. 'status' => 'HTTP/1.1 207 Multi-Status',
  1327. ),
  1328. ),
  1329. 17 =>
  1330. array (
  1331. 'request' =>
  1332. array (
  1333. 'body' => '<?xml version="1.0" encoding="utf-8" ?>
  1334. <D:pro

Large files files are truncated, but you can click here to view the full file