bokket.
01/09/2024, 1:24 AMXuanwo
01/09/2024, 1:25 AMXuanwo
01/09/2024, 1:27 AMbokket.
01/09/2024, 1:29 AMXuanwo
01/09/2024, 1:29 AMXuanwo
01/09/2024, 1:30 AMXuanwo
01/09/2024, 1:30 AMbokket.
01/09/2024, 1:32 AMpath_cache map, other things should be possiblebokket.
01/09/2024, 1:32 AMXuanwo
01/09/2024, 1:34 AMbokket.
01/09/2024, 1:49 AMXuanwo
01/09/2024, 1:51 AMXuanwo
01/09/2024, 1:51 AMbokket.
01/10/2024, 12:45 AMraw and` types` modules to complete the icloud section, and then bring it overbokket.
01/14/2024, 3:58 PMurl.not range and size from header.Can give me some inspiration?
https://cdn.discordapp.com/attachments/1194089222718623834/1196121074081996892/20240114235342.png?ex=65b6798e&is=65a4048e&hm=9618543d6af6302eb8bc61e4bb631e8f807ccb46fe4490c8eaff8d4d98cb0335&bokket.
01/14/2024, 3:59 PM{
"document_id": "D3CDF1CA-4FC3-414F414",
"item_id": "CJWdk48eFPlyeIgku15BQ",
"owner_dsid": 8084889,
"data_token": {
"url": "https://cvws.icloud-content.com.cn/B/AVmSqNSADS3TXERCrSP8K03IsskyAa5ivBtFaEGn76Sneg1Y1IHHD76h/%25E7%25BA%25A225EF%25BC%259A%25E5%2585%2583%25E6%2598%25A5%25E7%25AF%2587.txt?o",
"token": "CAogTxo7WveD8ur9E5uPEk8LDwigo1M8YTE7T5nb6t9pCaESbRCO+sW6zzEYjtehvM8xIgEAUgTIsskyWgTHD76haibl+cyPqp4U=",
"signature": "AVmSqNSADSK03Issky",
"wrapping_key": "EjXCZuP8ex5YA==",
"reference_signature": "Aa5ivBtFaEG1IHHD76h"
},
"double_etag": "wb::wa"
}bokket.
01/14/2024, 4:01 PMXuanwo
01/14/2024, 4:08 PMbokket.
01/14/2024, 4:09 PMXuanwo
01/14/2024, 4:13 PMbokket.
01/14/2024, 4:26 PMurl: https://cvws.icloud-content.com.cn/B/ATK6A
0/normal_file.txt.txt?o=AsfJkS382lQ9iHF2WvZ_eoRjTreT0LC6gHuPlSlY&e=1705252926&fl=&r=
header:{
k server
v"AppleHttpServer/00f954eb1bdc0aaa7c04e434a9aff1da4f8c1183"
k date v"Sun, 14 Jan 2024 16:22:06 GMT"
k content-type v"text/plain"
k content-length v"30482"
k x-responding-instance v"contentvendorws:10001:icloud-contentvendorws-cn-east-1c-57fcfc69db-4dngq:8401:23RC177:343df7665737aa772f2"
k access-control-allow-credentials v"false"
k access-control-allow-methods v"GET,OPTIONS"
k access-control-allow-headers v""
k content-disposition v"attachment; filename=\"normal_file.txt.txt\"; filename*=UTF-8''normal_file.txt.txt"
k accept-ranges v"bytes"
k last-modified v"Sun, 14 Jan 2024 16:22:06 GMT"
k cache-control v"no-transform,private,max-age=25920,s-maxage=25920"
k x-b3-traceid v"2503aa12164860c5"
k strict-transport-security v"max-age=315"
k x-apple-xrail v"false"
k via v"ef5f95d862fbe56114387549ef7ce198:06558e6537411d306d01a5e3565:3"
k x-apple-request-uuid v"b1d42b16-3c5d-49c5-a"
k access-control-expose-headers v"X-Apple-Request-UUID,Via"
k x-apple-edge-response-time v"235"}bokket.
01/14/2024, 4:27 PMXuanwo
01/14/2024, 4:32 PMXuanwo
01/14/2024, 4:33 PMXuanwo
01/14/2024, 4:33 PMbokket.
01/14/2024, 4:34 PMbokket.
01/17/2024, 5:04 PMenv.example. Is it useful for others to test it?
https://cdn.discordapp.com/attachments/1194089222718623834/1197224995307405403/20240118010238.png?ex=65ba7daa&is=65a808aa&hm=baa534bc7ad0097a3f315f4ed0a6b7e546ea2eae69283ba07cd4687a059d5d9d&bokket.
01/17/2024, 5:05 PMXuanwo
01/17/2024, 5:16 PMbokket.
01/19/2024, 3:42 AMXuanwo
01/19/2024, 3:44 AMXuanwo
01/19/2024, 4:33 AMbokket.
01/19/2024, 7:22 AMbokket.
01/19/2024, 12:29 PMSessionData. It is an important return in Auth verification.Apple server will check X-APPLE-WEBAUTH-USER cookie when obtaining file status if object exist.We do not need to update each time ,it only needs to be saved when it is in authenticate statue when it is inited. It will return to what we want
https://cdn.discordapp.com/attachments/1194089222718623834/1197880397850218537/20240119202703.png?ex=65bce00e&is=65aa6b0e&hm=096c67dfbfd5daa77f35c0c2ee5a6ba0b38000a5b194ec01d8bccb639ce5ea8f&Xuanwo
01/19/2024, 4:15 PMXuanwo
01/19/2024, 4:15 PMXuanwo
01/19/2024, 4:16 PMbokket.
01/20/2024, 9:36 AMXuanwo
01/20/2024, 5:43 PMbokket.
01/21/2024, 2:02 PMbokket.
01/22/2024, 2:24 AMhttp_utils to print cookies url: https://setup.icloud.com/setup/ws/1/accountLogin
cookie: Cookie { cookie_string: Some("X-APPLE-WEBAUTH-USER=\"v=1:s=1:d=8084835989\";Expires=Wed, 21-Feb-2024 02:22:25 GMT;Path=/;Domain=.icloud.com.cn;Secure;HttpOnly"), name: Indexed(0, 20), value: Indexed(22, 42), expires: Some(DateTime(2024-02-21 2:22:25.0 +00:00:00)), max_age: None, domain: Some(Indexed(97, 110)), path: Some(Indexed(87, 88)), secure: Some(true), http_only: Some(true), same_site: None }Xuanwo
01/22/2024, 2:26 AMXuanwo
01/22/2024, 2:26 AMbokket.
01/22/2024, 2:29 AMhttps: // setup.icloud.com/setup/WS/1/AcountLogin cookies conten.
https://cdn.discordapp.com/attachments/1194089222718623834/1198816778076307556/20240122102922.png?ex=65c04820&is=65add320&hm=b1a53288d9ad7913810a8f7cd38342162c5e0fd32ee9c64b51f6e1730cf4df7e&bokket.
01/22/2024, 2:35 AMcookie_provider to preserve, obviously we don’t needXuanwo
01/22/2024, 2:35 AMbokket.
01/22/2024, 2:39 AMXuanwo
01/22/2024, 2:40 AMbokket.
01/22/2024, 2:40 AMreqwestXuanwo
01/22/2024, 2:40 AMXuanwo
01/22/2024, 2:44 AMbokket.
01/22/2024, 3:52 PMbokket.
01/22/2024, 4:02 PMbokket.
01/22/2024, 5:32 PMbokket.
01/23/2024, 2:45 AMXuanwo
01/23/2024, 1:54 PMbokket.
01/24/2024, 8:03 AMbokket.
01/24/2024, 8:05 AMpost urlXuanwo
01/24/2024, 8:07 AMXuanwo
01/24/2024, 8:08 AMbokket.
01/24/2024, 10:43 AMXuanwo
01/24/2024, 10:45 AMXuanwo
01/24/2024, 10:45 AMbokket.
01/24/2024, 10:47 AMXuanwo
01/24/2024, 10:57 AMXuanwo
01/24/2024, 10:58 AMop.write(path, content) here, path must be a file instead.bokket.
01/24/2024, 6:44 PMXuanwo
01/24/2024, 7:27 PMbokket.
01/25/2024, 1:04 AMXuanwo
01/25/2024, 6:03 AMXuanwo
01/25/2024, 6:03 AMbokket.
01/25/2024, 6:53 AMXuanwo
01/25/2024, 6:54 AMcn to endpoint?Xuanwo
01/25/2024, 6:54 AMXuanwo
01/25/2024, 6:55 AMbokket.
01/25/2024, 8:25 AMOPENDAL_TEST=icloud cargo test behavior::test_stat_nested_parent_dir --features=tests,services-icloud.It sometimes success , failed in 3~4MB. But I reopen other single tests, 3MB was also successful, so I don't understandbokket.
01/25/2024, 8:41 AMget_upload_url path:acb3a9c4-4dcd-4f36-8019-cbb5e829616b !@#$%^&()_+-=;',.txt | contenws size:3554628 | docwsid:E6020E4E-B7E5-4EC9-BE6D-B6F1F1A76B41
test behavior::test_stat_with_special_chars ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 64 filtered out; finished in 15.61s
name:c67b26b8-f256-48c0-b3b0-6b7bf545143b | size:3328180 | id:9D0A2C6C-0A87-423B-BED6-0883E2FB6305
2024-01-25T08:20:01.342297Z ERROR opendal::services: service=icloud operation=Writer::close path=ddb80d80-82c6-4895-943a-ea20f9ab9c9d/c67b26b8-f256-48c0-b3b0-6b7bf545143b written=3328180B -> data close failed: Unexpected (permanent) at Writer::close
failures:
behavior::test_stat_nested_parent_dir
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 64 filtered out; finished in 138.52s
name:0a4d1a31-1c56-4892-9b7d-8f979859d369 | size:531744 | id:8AC27F9B-EDE9-40EE-9675-F579570E1C79
get_upload_url path:0a4d1a31-1c56-4892-9b7d-8f979859d369 | contenws size:531744 | docwsid:EA249D29-6FF6-4C4F-95FB-BF959F61BF90
test behavior::test_stat_nested_parent_dir ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 64 filtered out; finished in 20.23sXuanwo
01/25/2024, 9:42 AMXuanwo
01/25/2024, 9:48 AMwrite_total_max_size for icloud service: https://opendal.apache.org/docs/rust/opendal/struct.Capability.html#structfield.write_total_max_sizebokket.
01/25/2024, 10:11 AMXuanwo
01/25/2024, 10:11 AMXuanwo
01/25/2024, 10:11 AM