diff --git a/tests/vcr_cassettes/autodelete_photos.yml b/tests/vcr_cassettes/autodelete_photos.yml index 93a562531..132a78491 100644 --- a/tests/vcr_cassettes/autodelete_photos.yml +++ b/tests/vcr_cassettes/autodelete_photos.yml @@ -2695,539 +2695,4 @@ interactions: status: code: 200 message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-type: - - text/plain - Cookie: - - X-APPLE-WEBAUTH-LOGIN="v=1:t=IAAAAAAABLwIAAAAAFtgxr8RDmdzLmljbG91ZC5hdXRovQCQSCot1ysxaNK8eNz5c3o4pabbwMChZkAwYYnM5nzRw_cptq-efEIK3kTElDTNXo1Ou2LFreUma4rWkZArBxetxIQs1mgO43nUQ08rr-1tp09p9iPn8FbiKxoIG_0kAMxN-rK6N-gdfoXaCL02rtN-s8LyAw~~"; - X-APPLE-WEBAUTH-PCS-Cloudkit="TGlzdEFwcGw6MTpBcHBsOjE6Ae20A/jaOB7Jp/vb0QQJstK4aC/F9i0DIRFT7bxTXJizeopWgJ+09s8DSHyTC7mOzA+YqMa/YVKiI/YOEwMRXKPd/v/e0EPvrwf+g9U2kB85GXP3ZIKMhVFfkjv5rTyKhfilxus1/OUAXx9eLXw274+0dQE7ZShJq5+CB3sK7gbWQb9AjoY+OQ=="; - X-APPLE-WEBAUTH-PCS-Documents="TGlzdEFwcGw6MTpBcHBsOjE6AeyyUmn+DxfQYVkwS4N9KSWo9wQz3FWFkhOsYhtozsSvmSzd7PIGBI28hdy+30alZ0AUg7l+WA+D+9KhtpVipJ7GtvAoYPrx7124rxYjRftdasTAPNOrWNCHxqZy75xdc47rq77SmFwFIMnv1U7bBTNy265B0hNRUv09mpWG/d9C0J6jEQlLvg=="; - X-APPLE-WEBAUTH-PCS-Mail="TGlzdEFwcGw6MTpBcHBsOjE6AWsK+EYkcW5oCncaZt7mWIyznpVvILbzwn2hjZGRXNVYALDgK/nbNLghifgSy5O8GjUJJd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H-PCS-Sharing="TGlzdEFwcGw6MTpBcHBsOjE6AYHVmzu2tyRHllqyh3u29IcXm+KFVtz8uYvdhCEiN7Ytdmpv0tX49lugS1T9DR5LkPT6+1Mh9iHqA2yH7KEkjZxZqse5CaW/5pLX9ZZqR+cD8AE8sGEzCgNMQaxg4ewBKtwkXsmWwckJlGk6St28MKmHpBF+54N2quqvXRDfhrOHrIHVyDbN6A=="; - X-APPLE-WEBAUTH-TOKEN="v=2:t=IAAAAAAABLwIAAAAAFtgxsERDmdzLmljbG91ZC5hdXRovQASzAe9yIthZ-z1SRcqbQ0QIFNur7L-O_MaKbLKMJ7AGsQL-BmsThQkt5_QYLQZO1sx_XeVlKULNqHgoXD2wtFpVlPqPOQhRJ-EVRZKo7sAg9g3W-agXmOyFPOcnyDlTx7ZY-6bEIAYzbJQl9mpK8my-qugJw~~"; - X-APPLE-WEBAUTH-USER="v=1:s=0:d=12345678901"; X-APPLE-WEBAUTH-VALIDATE="v=1:t=IAAAAAAABLwIAAAAAFtgxr8RDmdzLmljbG91ZC5hdXRovQCQSCot1ysxaNK8eNz5c3o4pabbwMChZkAwYYnM5nzRw_cptq-efEIK3kTElDTNXo1Ou2LFreUma4rWkZArBxetxIQs1mgO43nUQ08rr-1tp30Gie0pjl83-aaa4aveSRRB_K8jekyg7n7MT2fmxzUenT-EJg~~" - Origin: - - https://www.icloud.com - Referer: - - https://www.icloud.com/ - User-Agent: - - Opera/9.52 (X11; Linux i686; U; en) - method: POST - uri: https://p61-ckdatabasews.icloud.com/database/1/com.apple.photos.cloud/production/private/zones/list - response: - body: - string: '{"reason":"Invalid global session","error":2}' - headers: - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Origin: - - https://www.icloud.com - Connection: - - keep-alive - Content-Type: - - application/json; charset=UTF-8 - Date: - - Tue, 29 Aug 2023 14:50:29 GMT - Server: - - AppleHttpServer/3faf4ee9434b - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; - X-Apple-Edge-Response-Time: - - '392' - X-Apple-Request-UUID: - - 6116d0cb-bae3-491d-9945-17caa8950573 - X-Responding-Instance: - - ckdatabasews:10900201:st11p09me-ztbu17131601:8201:2322B333:13811c3d707a78576fcc7f8962567af12bdfeeb4 - access-control-expose-headers: - - X-Apple-Request-UUID,X-Responding-Instance,Via - content-length: - - '45' - via: - - xrail:st53p00ic-qujn12063402.me.com:8301:23R321:grp60,631194250daa17e24277dea86cf30319:8aa008d31cb9abc9547a19fdf667e0bf:nlhfd1 - x-apple-user-partition: - - '9' - status: - code: 421 - message: Misdirected Request -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-type: - - text/plain - Cookie: - - X-APPLE-WEBAUTH-LOGIN="v=1:t=IAAAAAAABLwIAAAAAFtgxr8RDmdzLmljbG91ZC5hdXRovQCQSCot1ysxaNK8eNz5c3o4pabbwMChZkAwYYnM5nzRw_cptq-efEIK3kTElDTNXo1Ou2LFreUma4rWkZArBxetxIQs1mgO43nUQ08rr-1tp09p9iPn8FbiKxoIG_0kAMxN-rK6N-gdfoXaCL02rtN-s8LyAw~~"; - X-APPLE-WEBAUTH-PCS-Cloudkit="TGlzdEFwcGw6MTpBcHBsOjE6Ae20A/jaOB7Jp/vb0QQJstK4aC/F9i0DIRFT7bxTXJizeopWgJ+09s8DSHyTC7mOzA+YqMa/YVKiI/YOEwMRXKPd/v/e0EPvrwf+g9U2kB85GXP3ZIKMhVFfkjv5rTyKhfilxus1/OUAXx9eLXw274+0dQE7ZShJq5+CB3sK7gbWQb9AjoY+OQ=="; - X-APPLE-WEBAUTH-PCS-Documents="TGlzdEFwcGw6MTpBcHBsOjE6AeyyUmn+DxfQYVkwS4N9KSWo9wQz3FWFkhOsYhtozsSvmSzd7PIGBI28hdy+30alZ0AUg7l+WA+D+9KhtpVipJ7GtvAoYPrx7124rxYjRftdasTAPNOrWNCHxqZy75xdc47rq77SmFwFIMnv1U7bBTNy265B0hNRUv09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OF1Pt2kzHvqTVQ0g6GKARkun3jr0PUagg92+FvCYaQbcIwiNbkuaiz81tZBPuUbhOZO8DW2mVh2zZpZAyx2Xjf7ILX6+5BFZ3/orOUZxBqML8IRtwwHJPQ=="; - X-APPLE-WEBAUTH-PCS-Sharing="TGlzdEFwcGw6MTpBcHBsOjE6AYHVmzu2tyRHllqyh3u29IcXm+KFVtz8uYvdhCEiN7Ytdmpv0tX49lugS1T9DR5LkPT6+1Mh9iHqA2yH7KEkjZxZqse5CaW/5pLX9ZZqR+cD8AE8sGEzCgNMQaxg4ewBKtwkXsmWwckJlGk6St28MKmHpBF+54N2quqvXRDfhrOHrIHVyDbN6A=="; - X-APPLE-WEBAUTH-TOKEN="v=2:t=IAAAAAAABLwIAAAAAFtgxsERDmdzLmljbG91ZC5hdXRovQASzAe9yIthZ-z1SRcqbQ0QIFNur7L-O_MaKbLKMJ7AGsQL-BmsThQkt5_QYLQZO1sx_XeVlKULNqHgoXD2wtFpVlPqPOQhRJ-EVRZKo7sAg9g3W-agXmOyFPOcnyDlTx7ZY-6bEIAYzbJQl9mpK8my-qugJw~~"; - X-APPLE-WEBAUTH-USER="v=1:s=0:d=12345678901"; X-APPLE-WEBAUTH-VALIDATE="v=1:t=IAAAAAAABLwIAAAAAFtgxr8RDmdzLmljbG91ZC5hdXRovQCQSCot1ysxaNK8eNz5c3o4pabbwMChZkAwYYnM5nzRw_cptq-efEIK3kTElDTNXo1Ou2LFreUma4rWkZArBxetxIQs1mgO43nUQ08rr-1tp30Gie0pjl83-aaa4aveSRRB_K8jekyg7n7MT2fmxzUenT-EJg~~" - Origin: - - https://www.icloud.com - Referer: - - https://www.icloud.com/ - User-Agent: - - Opera/9.52 (X11; Linux i686; U; en) - method: POST - uri: https://p61-ckdatabasews.icloud.com/database/1/com.apple.photos.cloud/production/private/zones/list - response: - body: - string: '{"reason":"Invalid global session","error":2}' - headers: - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Origin: - - https://www.icloud.com - Connection: - - keep-alive - Content-Type: - - application/json; charset=UTF-8 - Date: - - Wed, 27 Sep 2023 06:16:13 GMT - Server: - - AppleHttpServer/3faf4ee9434b - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; - Timing-Allow-Origin: - - https://www.icloud.com - X-Apple-Edge-Response-Time: - - '369' - X-Apple-Request-UUID: - - 8aeae4b3-a16b-4548-9d8a-915a8c5f3bd1 - X-Responding-Instance: - - ckdatabasews:10903501:st11p09me-ztbu01214301:8201:2325B321:12cc5c1f6299d43fa5927b7fc646265a2abab788 - access-control-expose-headers: - - X-Apple-Request-UUID,X-Responding-Instance,Via - content-length: - - '45' - via: - - xrail:st53p00ic-qujn15041902.me.com:8301:23R353:grp60,631194250daa17e24277dea86cf30319:d16545ae901b624b52df917e5ff203c2:nlhfd1 - x-apple-user-partition: - - '9' - status: - code: 421 - message: Misdirected Request -- request: - body: '{"accountName": "jdoe@gmail.com", "password": "password1", "rememberMe": - true, "trustTokens": []}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '97' - Content-Type: - - application/json - Cookie: - - dslang=US-EN; site=USA; aasp=C4F8DBD63FDA6E707EC04DC8C5C54A51D10CB5E6FC501A8D548184356ABC257C11D8F15CDC21D89A3AD37A3825334221E87C81510803A846F5C836FFEFBBCC355BF706A84E83A2141E53196E055AD1CB9CB6EB294F2E2263303632EED58248B11A554C60E6DABACB0B6031513C3F19C3FF8997AD64146069 - Origin: - - https://www.icloud.com - Referer: - - https://www.icloud.com/ - User-Agent: - - Opera/9.52 (X11; Linux i686; U; en) - X-Apple-OAuth-Client-Id: - - d39ba9916b7251055b22c7f910e2ea796ee65e98b2ddecea8f5dde8d9d1a815d - X-Apple-OAuth-Client-Type: - - firstPartyAuth - X-Apple-OAuth-Redirect-URI: - - https://www.icloud.com - X-Apple-OAuth-Require-Grant-Code: - - 'true' - X-Apple-OAuth-Response-Mode: - - web_message - X-Apple-OAuth-Response-Type: - - code - X-Apple-OAuth-State: - - DE309E26-942E-11E8-92F5-14109FE0B321 - X-Apple-Widget-Key: - - d39ba9916b7251055b22c7f910e2ea796ee65e98b2ddecea8f5dde8d9d1a815d - scnt: - - AAAA-kM0RjhEQkQ2M0ZEQTZFNzA3RUMwNERDOEM1QzU0QTUxRDEwQ0I1RTZGQzUwMUE4RDU0ODE4NDM1NkFCQzI1N0MxMUQ4RjE1Q0RDMjFEODlBM0FEMzdBMzgyNTMzNDIyMUU4N0M4MTUxMDgwM0E4NDZGNUM4MzZGRkVGQkJDQzM1NUJGNzA2QTg0RTgzQTIxNDFFNTMxOTZFMDU1QUQxQ0I5Q0I2RUIyOTRGMkUyMjYzMzAzNjMyRUVENTgyNDhCMTFBNTU0QzYwRTZEQUJBQ0IwQjYwMzE1MTNDM0YxOUMzRkY4OTk3QUQ2NDE0NjA2OXwxAAABjFKqRRrj_PzP2B1vON1S9Ew5AjJ3zktIxxOaplpZfDsXTWpCDvj8cMWEfMMRABJMmY8EsJN1jNyDHQ_xhefd_7XZhOFtcytP6ykt_0EkugtwQeKH7w - method: POST - uri: https://idmsa.apple.com/appleauth/auth/signin?isRememberMeEnabled=true - response: - body: - string: "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n - \n\n\n\n\n\n\n\n\n \n \n \n \n\n\n \n \n \n \n \n \n\n\n\n - \ \n \n \n \n \n \n \n\n\n\n\n \n \n \n \n \n \n \n \n - \ \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n - \ \n\n \n \n\n \n\n\n\n
.
\n
.
\n
\n
\n\n\n - \ \n \n \n \n \n\n \n \n \n \n \n \n \n \n\n - \ \n\n\n\n\n\n\n\n\n \n \n \n\n \n\n\n\n\n\n\n\n\n - \ \n \n \n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n - \ \n \n \n\n\n\n \n \n \n \n\n\n\n\n\n\n\n - \ \n\n\n\n - \ \n \n \n \n\n \n \n \n \n \n \n\n\n\n" - headers: - Cache-Control: - - no-cache - - no-store - Connection: - - keep-alive - Content-Language: - - en-US-x-lvariant-USA - Content-Security-Policy: - - 'default-src ''self'' ; child-src blob: ; connect-src ''self'' https://www.apple.com - https://appleid.cdn-apple.com https://webcourier.sandbox.push.apple.com https://xp-qa.apple.com - ; font-src ''self'' https://www.apple.com https://appleid.cdn-apple.com https://idmsa.apple.com - https://gsa.apple.com https://idmsa.apple.com.cn https://signin.apple.com - ; frame-src ''self'' https://appleid.apple.com https://gsa.apple.com ; img-src - ''self'' https://www.apple.com https://appleid.cdn-apple.com https://*.mzstatic.com - data: https://*.apple.com ; media-src data: ; object-src ''none'' ; script-src - ''self'' https://www.apple.com https://appleid.cdn-apple.com https://idmsa.apple.com - https://gsa.apple.com https://idmsa.apple.com.cn https://signin.apple.com - ; style-src ''unsafe-inline'' ''self'' https://www.apple.com https://appleid.cdn-apple.com - https://idmsa.apple.com https://gsa.apple.com https://idmsa.apple.com.cn https://signin.apple.com - ;' - Content-Type: - - text/html;charset=UTF-8 - Date: - - Sun, 10 Dec 2023 07:24:00 GMT - Expires: - - Thu, 01 Jan 1970 00:00:00 GMT - Pragma: - - no-cache - Referrer-Policy: - - origin - Server: - - Apple - Set-Cookie: - - dslang=US-EN; Domain=apple.com; Path=/; Secure; HttpOnly - - site=USA; Domain=apple.com; Path=/; Secure; HttpOnly - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload - Transfer-Encoding: - - chunked - X-Apple-I-Request-ID: - - 16c8b9a3-972d-11ee-8ab1-b5ef971e0b9e - X-Apple-I-Rscd: - - '403' - X-BuildVersion: - - R3_2 - X-Content-Type-Options: - - nosniff - X-FRAME-OPTIONS: - - DENY - X-XSS-Protection: - - 1; mode=block - content-length: - - '24161' - scnt: - - AAAA-kM0RjhEQkQ2M0ZEQTZFNzA3RUMwNERDOEM1QzU0QTUxRDEwQ0I1RTZGQzUwMUE4RDU0ODE4NDM1NkFCQzI1N0MxMUQ4RjE1Q0RDMjFEODlBM0FEMzdBMzgyNTMzNDIyMUU4N0M4MTUxMDgwM0E4NDZGNUM4MzZGRkVGQkJDQzM1NUJGNzA2QTg0RTgzQTIxNDFFNTMxOTZFMDU1QUQxQ0I5Q0I2RUIyOTRGMkUyMjYzMzAzNjMyRUVENTgyNDhCMTFBNTU0QzYwRTZEQUJBQ0IwQjYwMzE1MTNDM0YxOUMzRkY4OTk3QUQ2NDE0NjA2OXwyAAABjFKqSMN_RGPSErvxMi6_gEnrVeXLOx6Jr6A0RFmJXyosWA7jNzDyMLbc5B3gABHsCWPVPBSi2_P9A6yxDTl6Z276ywycydzP8jMn5-knEwgwSb-Q0A - vary: - - accept-encoding - status: - code: 200 - message: '' -- request: - body: '{"accountCountryCode": null, "dsWebAuthToken": null, "extended_login": - true, "trustToken": ""}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '94' - Origin: - - https://www.icloud.com - Referer: - - https://www.icloud.com/ - User-Agent: - - Opera/9.52 (X11; Linux i686; U; en) - method: POST - uri: https://setup.icloud.com/setup/ws/1/accountLogin - response: - body: - string: '{"success":false,"error":"Missing apple_id field"}' - headers: - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Origin: - - https://www.icloud.com - Cache-Control: - - no-cache, no-store, private - Connection: - - keep-alive - Content-Type: - - application/json; charset=UTF-8 - Date: - - Sun, 10 Dec 2023 07:24:01 GMT - Server: - - AppleHttpServer/78689afb4479 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Apple-Edge-Response-Time: - - '13' - X-Apple-Request-UUID: - - fa36221d-aacf-49f5-872b-d31537200441 - X-Responding-Instance: - - setupservice:32600303:mr55p26ic-qukt01181701:8003:2404B363:5934c9004de5 - access-control-expose-headers: - - X-Apple-Request-UUID,Via - content-length: - - '50' - via: - - 631194250daa17e24277dea86cf30319:bfb7af22d41f64cb81a72b4edff9d9d6:usprz3 - x-apple-user-partition: - - '26' - status: - code: 400 - message: Bad Request version: 1 diff --git a/tests/vcr_cassettes/autodelete_photos_heic.yml b/tests/vcr_cassettes/autodelete_photos_heic.yml index a22b3ec2b..61b886aa5 100644 --- a/tests/vcr_cassettes/autodelete_photos_heic.yml +++ b/tests/vcr_cassettes/autodelete_photos_heic.yml @@ -2695,539 +2695,4 @@ interactions: status: code: 200 message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-type: - - text/plain - Cookie: - - X-APPLE-WEBAUTH-LOGIN="v=1:t=IAAAAAAABLwIAAAAAFtgxr8RDmdzLmljbG91ZC5hdXRovQCQSCot1ysxaNK8eNz5c3o4pabbwMChZkAwYYnM5nzRw_cptq-efEIK3kTElDTNXo1Ou2LFreUma4rWkZArBxetxIQs1mgO43nUQ08rr-1tp09p9iPn8FbiKxoIG_0kAMxN-rK6N-gdfoXaCL02rtN-s8LyAw~~"; - X-APPLE-WEBAUTH-PCS-Cloudkit="TGlzdEFwcGw6MTpBcHBsOjE6Ae20A/jaOB7Jp/vb0QQJstK4aC/F9i0DIRFT7bxTXJizeopWgJ+09s8DSHyTC7mOzA+YqMa/YVKiI/YOEwMRXKPd/v/e0EPvrwf+g9U2kB85GXP3ZIKMhVFfkjv5rTyKhfilxus1/OUAXx9eLXw274+0dQE7ZShJq5+CB3sK7gbWQb9AjoY+OQ=="; - X-APPLE-WEBAUTH-PCS-Documents="TGlzdEFwcGw6MTpBcHBsOjE6AeyyUmn+DxfQYVkwS4N9KSWo9wQz3FWFkhOsYhtozsSvmSzd7PIGBI28hdy+30alZ0AUg7l+WA+D+9KhtpVipJ7GtvAoYPrx7124rxYjRftdasTAPNOrWNCHxqZy75xdc47rq77SmFwFIMnv1U7bBTNy265B0hNRUv09mpWG/d9C0J6jEQlLvg=="; - X-APPLE-WEBAUTH-PCS-Mail="TGlzdEFwcGw6MTpBcHBsOjE6AWsK+EYkcW5oCncaZt7m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6+5BFZ3/orOUZxBqML8IRtwwHJPQ=="; - X-APPLE-WEBAUTH-PCS-Sharing="TGlzdEFwcGw6MTpBcHBsOjE6AYHVmzu2tyRHllqyh3u29IcXm+KFVtz8uYvdhCEiN7Ytdmpv0tX49lugS1T9DR5LkPT6+1Mh9iHqA2yH7KEkjZxZqse5CaW/5pLX9ZZqR+cD8AE8sGEzCgNMQaxg4ewBKtwkXsmWwckJlGk6St28MKmHpBF+54N2quqvXRDfhrOHrIHVyDbN6A=="; - X-APPLE-WEBAUTH-TOKEN="v=2:t=IAAAAAAABLwIAAAAAFtgxsERDmdzLmljbG91ZC5hdXRovQASzAe9yIthZ-z1SRcqbQ0QIFNur7L-O_MaKbLKMJ7AGsQL-BmsThQkt5_QYLQZO1sx_XeVlKULNqHgoXD2wtFpVlPqPOQhRJ-EVRZKo7sAg9g3W-agXmOyFPOcnyDlTx7ZY-6bEIAYzbJQl9mpK8my-qugJw~~"; - X-APPLE-WEBAUTH-USER="v=1:s=0:d=12345678901"; X-APPLE-WEBAUTH-VALIDATE="v=1:t=IAAAAAAABLwIAAAAAFtgxr8RDmdzLmljbG91ZC5hdXRovQCQSCot1ysxaNK8eNz5c3o4pabbwMChZkAwYYnM5nzRw_cptq-efEIK3kTElDTNXo1Ou2LFreUma4rWkZArBxetxIQs1mgO43nUQ08rr-1tp30Gie0pjl83-aaa4aveSRRB_K8jekyg7n7MT2fmxzUenT-EJg~~" - Origin: - - https://www.icloud.com - Referer: - - https://www.icloud.com/ - User-Agent: - - Opera/9.52 (X11; Linux i686; U; en) - method: POST - uri: https://p61-ckdatabasews.icloud.com/database/1/com.apple.photos.cloud/production/private/zones/list - response: - body: - string: '{"reason":"Invalid global session","error":2}' - headers: - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Origin: - - https://www.icloud.com - Connection: - - keep-alive - Content-Type: - - application/json; charset=UTF-8 - Date: - - Tue, 29 Aug 2023 14:50:29 GMT - Server: - - AppleHttpServer/3faf4ee9434b - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; - X-Apple-Edge-Response-Time: - - '392' - X-Apple-Request-UUID: - - 6116d0cb-bae3-491d-9945-17caa8950573 - X-Responding-Instance: - - ckdatabasews:10900201:st11p09me-ztbu17131601:8201:2322B333:13811c3d707a78576fcc7f8962567af12bdfeeb4 - access-control-expose-headers: - - X-Apple-Request-UUID,X-Responding-Instance,Via - content-length: - - '45' - via: - - xrail:st53p00ic-qujn12063402.me.com:8301:23R321:grp60,631194250daa17e24277dea86cf30319:8aa008d31cb9abc9547a19fdf667e0bf:nlhfd1 - x-apple-user-partition: - - '9' - status: - code: 421 - message: Misdirected Request -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-type: - - text/plain - Cookie: - - X-APPLE-WEBAUTH-LOGIN="v=1:t=IAAAAAAABLwIAAAAAFtgxr8RDmdzLmljbG91ZC5hdXRovQCQSCot1ysxaNK8eNz5c3o4pabbwMChZkAwYYnM5nzRw_cptq-efEIK3kTElDTNXo1Ou2LFreUma4rWkZArBxetxIQs1mgO43nUQ08rr-1tp09p9iPn8FbiKxoIG_0kAMxN-rK6N-gdfoXaCL02rtN-s8LyAw~~"; - X-APPLE-WEBAUTH-PCS-Cloudkit="TGlzdEFwcGw6MTpBcHBsOjE6Ae20A/jaOB7Jp/vb0QQJstK4aC/F9i0DIRFT7bxTXJizeopWgJ+09s8DSHyTC7mOzA+YqMa/YVKiI/YOEwMRXKPd/v/e0EPvrwf+g9U2kB85GXP3ZIKMhVFfkjv5rTyKhfilxus1/OUAXx9eLXw274+0dQE7ZShJq5+CB3sK7gbWQb9AjoY+OQ=="; - X-APPLE-WEBAUTH-PCS-Documents="TGlzdEFwcGw6MTpBcHBsOjE6AeyyUmn+DxfQYVkwS4N9KSWo9wQz3FWFkhOsYhtozsSvmSzd7PIGBI28hdy+30alZ0AUg7l+WA+D+9KhtpVipJ7GtvAoYPrx7124rxYjRftdasTAP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RxaNVwjlvf2MYzsovmXIFRP0tttrPHaOIorHKT8O9B/qCbjooOF1Pt2kzHvqTVQ0g6GKARkun3jr0PUagg92+FvCYaQbcIwiNbkuaiz81tZBPuUbhOZO8DW2mVh2zZpZAyx2Xjf7ILX6+5BFZ3/orOUZxBqML8IRtwwHJPQ=="; - X-APPLE-WEBAUTH-PCS-Sharing="TGlzdEFwcGw6MTpBcHBsOjE6AYHVmzu2tyRHllqyh3u29IcXm+KFVtz8uYvdhCEiN7Ytdmpv0tX49lugS1T9DR5LkPT6+1Mh9iHqA2yH7KEkjZxZqse5CaW/5pLX9ZZqR+cD8AE8sGEzCgNMQaxg4ewBKtwkXsmWwckJlGk6St28MKmHpBF+54N2quqvXRDfhrOHrIHVyDbN6A=="; - X-APPLE-WEBAUTH-TOKEN="v=2:t=IAAAAAAABLwIAAAAAFtgxsERDmdzLmljbG91ZC5hdXRovQASzAe9yIthZ-z1SRcqbQ0QIFNur7L-O_MaKbLKMJ7AGsQL-BmsThQkt5_QYLQZO1sx_XeVlKULNqHgoXD2wtFpVlPqPOQhRJ-EVRZKo7sAg9g3W-agXmOyFPOcnyDlTx7ZY-6bEIAYzbJQl9mpK8my-qugJw~~"; - X-APPLE-WEBAUTH-USER="v=1:s=0:d=12345678901"; X-APPLE-WEBAUTH-VALIDATE="v=1:t=IAAAAAAABLwIAAAAAFtgxr8RDmdzLmljbG91ZC5hdXRovQCQSCot1ysxaNK8eNz5c3o4pabbwMChZkAwYYnM5nzRw_cptq-efEIK3kTElDTNXo1Ou2LFreUma4rWkZArBxetxIQs1mgO43nUQ08rr-1tp30Gie0pjl83-aaa4aveSRRB_K8jekyg7n7MT2fmxzUenT-EJg~~" - Origin: - - https://www.icloud.com - Referer: - - https://www.icloud.com/ - User-Agent: - - Opera/9.52 (X11; Linux i686; U; en) - method: POST - uri: https://p61-ckdatabasews.icloud.com/database/1/com.apple.photos.cloud/production/private/zones/list - response: - body: - string: '{"reason":"Invalid global session","error":2}' - headers: - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Origin: - - https://www.icloud.com - Connection: - - keep-alive - Content-Type: - - application/json; charset=UTF-8 - Date: - - Wed, 27 Sep 2023 06:16:13 GMT - Server: - - AppleHttpServer/3faf4ee9434b - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; - Timing-Allow-Origin: - - https://www.icloud.com - X-Apple-Edge-Response-Time: - - '369' - X-Apple-Request-UUID: - - 8aeae4b3-a16b-4548-9d8a-915a8c5f3bd1 - X-Responding-Instance: - - ckdatabasews:10903501:st11p09me-ztbu01214301:8201:2325B321:12cc5c1f6299d43fa5927b7fc646265a2abab788 - access-control-expose-headers: - - X-Apple-Request-UUID,X-Responding-Instance,Via - content-length: - - '45' - via: - - xrail:st53p00ic-qujn15041902.me.com:8301:23R353:grp60,631194250daa17e24277dea86cf30319:d16545ae901b624b52df917e5ff203c2:nlhfd1 - x-apple-user-partition: - - '9' - status: - code: 421 - message: Misdirected Request -- request: - body: '{"accountName": "jdoe@gmail.com", "password": "password1", "rememberMe": - true, "trustTokens": []}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '97' - Content-Type: - - application/json - Cookie: - - dslang=US-EN; site=USA; aasp=C4F8DBD63FDA6E707EC04DC8C5C54A51D10CB5E6FC501A8D548184356ABC257C11D8F15CDC21D89A3AD37A3825334221E87C81510803A846F5C836FFEFBBCC355BF706A84E83A2141E53196E055AD1CB9CB6EB294F2E2263303632EED58248B11A554C60E6DABACB0B6031513C3F19C3FF8997AD64146069 - Origin: - - https://www.icloud.com - Referer: - - https://www.icloud.com/ - User-Agent: - - Opera/9.52 (X11; Linux i686; U; en) - X-Apple-OAuth-Client-Id: - - d39ba9916b7251055b22c7f910e2ea796ee65e98b2ddecea8f5dde8d9d1a815d - X-Apple-OAuth-Client-Type: - - firstPartyAuth - X-Apple-OAuth-Redirect-URI: - - https://www.icloud.com - X-Apple-OAuth-Require-Grant-Code: - - 'true' - X-Apple-OAuth-Response-Mode: - - web_message - X-Apple-OAuth-Response-Type: - - code - X-Apple-OAuth-State: - - DE309E26-942E-11E8-92F5-14109FE0B321 - X-Apple-Widget-Key: - - d39ba9916b7251055b22c7f910e2ea796ee65e98b2ddecea8f5dde8d9d1a815d - scnt: - - AAAA-kM0RjhEQkQ2M0ZEQTZFNzA3RUMwNERDOEM1QzU0QTUxRDEwQ0I1RTZGQzUwMUE4RDU0ODE4NDM1NkFCQzI1N0MxMUQ4RjE1Q0RDMjFEODlBM0FEMzdBMzgyNTMzNDIyMUU4N0M4MTUxMDgwM0E4NDZGNUM4MzZGRkVGQkJDQzM1NUJGNzA2QTg0RTgzQTIxNDFFNTMxOTZFMDU1QUQxQ0I5Q0I2RUIyOTRGMkUyMjYzMzAzNjMyRUVENTgyNDhCMTFBNTU0QzYwRTZEQUJBQ0IwQjYwMzE1MTNDM0YxOUMzRkY4OTk3QUQ2NDE0NjA2OXwxAAABjFKqRRrj_PzP2B1vON1S9Ew5AjJ3zktIxxOaplpZfDsXTWpCDvj8cMWEfMMRABJMmY8EsJN1jNyDHQ_xhefd_7XZhOFtcytP6ykt_0EkugtwQeKH7w - method: POST - uri: https://idmsa.apple.com/appleauth/auth/signin?isRememberMeEnabled=true - response: - body: - string: "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n - \n\n\n\n\n\n\n\n\n \n \n \n \n\n\n \n \n \n \n \n \n\n\n\n - \ \n \n \n \n \n \n \n\n\n\n\n \n \n \n \n \n \n \n \n - \ \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n - \ \n\n \n \n\n \n\n\n\n
.
\n
.
\n
\n
\n\n\n - \ \n \n \n \n \n\n \n \n \n \n \n \n \n \n\n - \ \n\n\n\n\n\n\n\n\n \n \n \n\n \n\n\n\n\n\n\n\n\n - \ \n \n \n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n - \ \n \n \n\n\n\n \n \n \n \n\n\n\n\n\n\n\n - \ \n\n\n\n - \ \n \n \n \n\n \n \n \n \n \n \n\n\n\n" - headers: - Cache-Control: - - no-cache - - no-store - Connection: - - keep-alive - Content-Language: - - en-US-x-lvariant-USA - Content-Security-Policy: - - 'default-src ''self'' ; child-src blob: ; connect-src ''self'' https://www.apple.com - https://appleid.cdn-apple.com https://webcourier.sandbox.push.apple.com https://xp-qa.apple.com - ; font-src ''self'' https://www.apple.com https://appleid.cdn-apple.com https://idmsa.apple.com - https://gsa.apple.com https://idmsa.apple.com.cn https://signin.apple.com - ; frame-src ''self'' https://appleid.apple.com https://gsa.apple.com ; img-src - ''self'' https://www.apple.com https://appleid.cdn-apple.com https://*.mzstatic.com - data: https://*.apple.com ; media-src data: ; object-src ''none'' ; script-src - ''self'' https://www.apple.com https://appleid.cdn-apple.com https://idmsa.apple.com - https://gsa.apple.com https://idmsa.apple.com.cn https://signin.apple.com - ; style-src ''unsafe-inline'' ''self'' https://www.apple.com https://appleid.cdn-apple.com - https://idmsa.apple.com https://gsa.apple.com https://idmsa.apple.com.cn https://signin.apple.com - ;' - Content-Type: - - text/html;charset=UTF-8 - Date: - - Sun, 10 Dec 2023 07:24:00 GMT - Expires: - - Thu, 01 Jan 1970 00:00:00 GMT - Pragma: - - no-cache - Referrer-Policy: - - origin - Server: - - Apple - Set-Cookie: - - dslang=US-EN; Domain=apple.com; Path=/; Secure; HttpOnly - - site=USA; Domain=apple.com; Path=/; Secure; HttpOnly - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload - Transfer-Encoding: - - chunked - X-Apple-I-Request-ID: - - 16c8b9a3-972d-11ee-8ab1-b5ef971e0b9e - X-Apple-I-Rscd: - - '403' - X-BuildVersion: - - R3_2 - X-Content-Type-Options: - - nosniff - X-FRAME-OPTIONS: - - DENY - X-XSS-Protection: - - 1; mode=block - content-length: - - '24161' - scnt: - - AAAA-kM0RjhEQkQ2M0ZEQTZFNzA3RUMwNERDOEM1QzU0QTUxRDEwQ0I1RTZGQzUwMUE4RDU0ODE4NDM1NkFCQzI1N0MxMUQ4RjE1Q0RDMjFEODlBM0FEMzdBMzgyNTMzNDIyMUU4N0M4MTUxMDgwM0E4NDZGNUM4MzZGRkVGQkJDQzM1NUJGNzA2QTg0RTgzQTIxNDFFNTMxOTZFMDU1QUQxQ0I5Q0I2RUIyOTRGMkUyMjYzMzAzNjMyRUVENTgyNDhCMTFBNTU0QzYwRTZEQUJBQ0IwQjYwMzE1MTNDM0YxOUMzRkY4OTk3QUQ2NDE0NjA2OXwyAAABjFKqSMN_RGPSErvxMi6_gEnrVeXLOx6Jr6A0RFmJXyosWA7jNzDyMLbc5B3gABHsCWPVPBSi2_P9A6yxDTl6Z276ywycydzP8jMn5-knEwgwSb-Q0A - vary: - - accept-encoding - status: - code: 200 - message: '' -- request: - body: '{"accountCountryCode": null, "dsWebAuthToken": null, "extended_login": - true, "trustToken": ""}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '94' - Origin: - - https://www.icloud.com - Referer: - - https://www.icloud.com/ - User-Agent: - - Opera/9.52 (X11; Linux i686; U; en) - method: POST - uri: https://setup.icloud.com/setup/ws/1/accountLogin - response: - body: - string: '{"success":false,"error":"Missing apple_id field"}' - headers: - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Origin: - - https://www.icloud.com - Cache-Control: - - no-cache, no-store, private - Connection: - - keep-alive - Content-Type: - - application/json; charset=UTF-8 - Date: - - Sun, 10 Dec 2023 07:24:01 GMT - Server: - - AppleHttpServer/78689afb4479 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Apple-Edge-Response-Time: - - '13' - X-Apple-Request-UUID: - - fa36221d-aacf-49f5-872b-d31537200441 - X-Responding-Instance: - - setupservice:32600303:mr55p26ic-qukt01181701:8003:2404B363:5934c9004de5 - access-control-expose-headers: - - X-Apple-Request-UUID,Via - content-length: - - '50' - via: - - 631194250daa17e24277dea86cf30319:bfb7af22d41f64cb81a72b4edff9d9d6:usprz3 - x-apple-user-partition: - - '26' - status: - code: 400 - message: Bad Request version: 1 diff --git a/tests/vcr_cassettes/download_autodelete_photos.yml b/tests/vcr_cassettes/download_autodelete_photos.yml index c945c2d0f..0d827189b 100644 --- a/tests/vcr_cassettes/download_autodelete_photos.yml +++ b/tests/vcr_cassettes/download_autodelete_photos.yml @@ -18362,537 +18362,4 @@ interactions: status: code: 200 message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-type: - - text/plain - Cookie: - - X-APPLE-UNIQUE-CLIENT-ID="Bw=="; X-APPLE-WEBAUTH-LOGIN="v=1:t=Bw==BST_IAAAAAAABLwIAAAAAGR_8VQRDmdzLmljbG91ZC5hdXRovQB_ABV6RApEPq82ByPdBFIT2DmZ3sFC8ggKtIdGh2jMImZb46kfIUX2uc_ROD-Q9zRcTu3CaDypDuWgeUg3MY3ItAW2jBNKGu0WZxzaDoJI06xlLUlX_8EV9uFj-QpAllL8ZGepYrHIv2dweiAfDRXAK0kqEA~~"; - X-APPLE-WEBAUTH-PCS-Cloudkit="TGlzdEFwcGw6MTpBcHBsOjE6AcgqWeCCvyKbw2ybb7b+dbC1/C2nJuDBOwP7fM4KWHjfJ4bfHagW3qoIAsRwiTZbT5rBUWxlD6Eu1D/J7xmPB8WEFuJMMRK7ufKl629LT4BEgKPEb12aLIy7OkA23qmfHVkBBB7YTB2pc7VnUPy1dX8fqj5DHs99GibT3KThPXrwlHxi5TXd7w=="; - X-APPLE-WEBAUTH-PCS-Documents="TGlzdEFwcGw6MTpBcHBsOjE6AdpUrFzoejI3weIjZZUiZ0mT18JP4PEeh8IC97qnhGXHDd33BpAm+MJs3/p7DL4V+CJIewdG4TFXlvyDHftJBNXdMBvonFzeKDHC00TUdbh1cLVKs+0Bk/yd7DmUrZj8jgmwdYGyEsQ5Hjxf887sSwDf9tpk9P4vRAx4kp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q+G+LZJ36g5iLuvhEZ7djqSYARdCcaz81YDeR9W6RGq0FjqtaErgQ0v8pWvNZbem174GzmAE+1sdiPsPlyOa4Yo2nsfhKPSDk8vY+leJcBi9AEgPB6qesGnFolAA=="; - X-APPLE-WEBAUTH-PCS-Sharing="TGlzdEFwcGw6MTpBcHBsOjE6AePC0QBcgT268muedsIe8VX8gKrN8HH0dml1PmbKGGh0jF9foFWnZH8pEbqVBlb7WMDIVHIX4+telZ21dkDteyMQ/KdYaYP/dM36DrucVi18c8p08LGSWdyghzE7fj9QuaJgq4/F+C3fhEwrkIO3o0U99rERbNZGmXFySDT9W5ZowRlDNKnplA=="; - X-APPLE-WEBAUTH-TOKEN="v=2:t=Bw==BST_IAAAAAAABLwIAAAAAGR_8VYRDmdzLmljbG91ZC5hdXRovQDJyoT-b1YRarSOq9akhwi1jLCBzsdKxalcy0jn0LFE-Yh9Ds6uCupgCwoJVqjila6No3Ot2H4pHCa7gtRvDvDJSGBSEkHSUuLayc0iPphadFHi5h-UIXCNDY8-84M7nKsc5iO-PMkKOWmYD-Hr-zcNQHAiRg~~"; - X-APPLE-WEBAUTH-USER="v=1:s=0:d=12345678901"; X-APPLE-WEBAUTH-VALIDATE="v=1:t=Bw==BST_IAAAAAAABLwIAAAAAGR_8VQRDmdzLmljbG91ZC5hdXRovQB_ABV6RApEPq82ByPdBFIT2DmZ3sFC8ggKtIdGh2jMImZb46kfIUX2uc_ROD-Q9zRcTu3CaDypDuWgeUg3MY3ItAW2jBNKGu0WZxzaDoJI08OqNC8TRuhzLlNWoo_Zlz7N2GqkHUqbWatD93Zn9IP3jmZdcw~~" - Origin: - - https://www.icloud.com - Referer: - - https://www.icloud.com/ - User-Agent: - - Opera/9.52 (X11; Linux i686; U; en) - method: POST - uri: https://p61-ckdatabasews.icloud.com/database/1/com.apple.photos.cloud/production/private/zones/list - response: - body: - string: '{"reason":"Invalid global session","error":2}' - headers: - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Origin: - - https://www.icloud.com - Connection: - - keep-alive - Content-Type: - - application/json; charset=UTF-8 - Date: - - Tue, 29 Aug 2023 14:50:29 GMT - Server: - - AppleHttpServer/3faf4ee9434b - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; - X-Apple-Edge-Response-Time: - - '403' - X-Apple-Request-UUID: - - 1c3f689c-50c1-4b4f-9ec3-2b2b6aa79198 - X-Responding-Instance: - - ckdatabasews:35410401:mr51p54ic-qukt03081101:8201:2322B333:13811c3d707a78576fcc7f8962567af12bdfeeb4 - access-control-expose-headers: - - X-Apple-Request-UUID,X-Responding-Instance,Via - content-length: - - '45' - via: - - xrail:mr42p00ic-qujn08141701.me.com:8301:23R321:grp22,631194250daa17e24277dea86cf30319:cfff28dc77a3011ced43e64244278f05:nlhfd1 - x-apple-user-partition: - - '54' - status: - code: 421 - message: Misdirected Request -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-type: - - text/plain - Cookie: - - X-APPLE-UNIQUE-CLIENT-ID="Bw=="; X-APPLE-WEBAUTH-LOGIN="v=1:t=Bw==BST_IAAAAAAABLwIAAAAAGR_8VQRDmdzLmljbG91ZC5hdXRovQB_ABV6RApEPq82ByPdBFIT2DmZ3sFC8ggKtIdGh2jMImZb46kfIUX2uc_ROD-Q9zRcTu3CaDypDuWgeUg3MY3ItAW2jBNKGu0WZxzaDoJI06xlLUlX_8EV9uFj-QpAllL8ZGepYrHIv2dweiAfDRXAK0kqEA~~"; - X-APPLE-WEBAUTH-PCS-Cloudkit="TGlzdEFwcGw6MTpBcHBsOjE6AcgqWeCCvyKbw2ybb7b+dbC1/C2nJuDBOwP7fM4KWHjfJ4bfHagW3qoIAsRwiTZbT5rBUWxlD6Eu1D/J7xmPB8WEFuJMMRK7ufKl629LT4BEgKPEb12aLIy7OkA23qmfHVkBBB7YTB2pc7VnUPy1dX8fqj5DHs99GibT3KThPXrwlHxi5TXd7w=="; - X-APPLE-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3jmZdcw~~" - Origin: - - https://www.icloud.com - Referer: - - https://www.icloud.com/ - User-Agent: - - Opera/9.52 (X11; Linux i686; U; en) - method: POST - uri: https://p61-ckdatabasews.icloud.com/database/1/com.apple.photos.cloud/production/private/zones/list - response: - body: - string: '{"reason":"Invalid global session","error":2}' - headers: - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Origin: - - https://www.icloud.com - Connection: - - keep-alive - Content-Type: - - application/json; charset=UTF-8 - Date: - - Wed, 27 Sep 2023 06:16:12 GMT - Server: - - AppleHttpServer/3faf4ee9434b - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; - Timing-Allow-Origin: - - https://www.icloud.com - X-Apple-Edge-Response-Time: - - '144' - X-Apple-Request-UUID: - - 8a380c5a-b6d0-43fe-87b3-afbb7ef3976e - X-Responding-Instance: - - ckdatabasews:35406301:mr90p54ic-zteg03161601:8807:2325B321:12cc5c1f6299d43fa5927b7fc646265a2abab788 - access-control-expose-headers: - - X-Apple-Request-UUID,X-Responding-Instance,Via - content-length: - - '45' - via: - - xrail:mr47p00ic-qujn01121901.me.com:8301:23R353:grp22,631194250daa17e24277dea86cf30319:5e1914b6f2591bd9101af83211e0c7fa:nlhfd1 - x-apple-user-partition: - - '54' - status: - code: 421 - message: Misdirected Request -- request: - body: '{"accountName": "jdoe@gmail.com", "password": "password1", "rememberMe": - true, "trustTokens": []}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '97' - Content-Type: - - application/json - Origin: - - https://www.icloud.com - Referer: - - https://www.icloud.com/ - User-Agent: - - Opera/9.52 (X11; Linux i686; U; en) - X-Apple-OAuth-Client-Id: - - d39ba9916b7251055b22c7f910e2ea796ee65e98b2ddecea8f5dde8d9d1a815d - X-Apple-OAuth-Client-Type: - - firstPartyAuth - X-Apple-OAuth-Redirect-URI: - - https://www.icloud.com - X-Apple-OAuth-Require-Grant-Code: - - 'true' - X-Apple-OAuth-Response-Mode: - - web_message - X-Apple-OAuth-Response-Type: - - code - X-Apple-OAuth-State: - - DE309E26-942E-11E8-92F5-14109FE0B321 - X-Apple-Widget-Key: - - d39ba9916b7251055b22c7f910e2ea796ee65e98b2ddecea8f5dde8d9d1a815d - method: POST - uri: https://idmsa.apple.com/appleauth/auth/signin?isRememberMeEnabled=true - response: - body: - string: "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n - \n\n\n\n\n\n\n\n\n \n \n \n \n\n\n \n \n \n \n \n \n\n\n\n - \ \n \n \n \n \n \n \n\n\n\n\n \n \n \n \n \n \n \n \n - \ \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n - \ \n\n \n \n\n \n\n\n\n
.
\n
.
\n
\n
\n\n\n - \ \n \n \n \n \n\n \n \n \n \n \n \n \n \n\n - \ \n\n\n\n\n\n\n\n\n \n \n \n\n \n\n\n\n\n\n\n\n\n - \ \n \n \n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n - \ \n \n \n\n\n\n \n \n \n \n\n\n\n\n\n\n\n - \ \n\n\n\n - \ \n \n \n \n\n \n \n \n \n \n \n\n\n\n" - headers: - Cache-Control: - - no-cache - - no-store - Connection: - - keep-alive - Content-Language: - - en-US-x-lvariant-USA - Content-Security-Policy: - - 'default-src ''self'' ; child-src blob: ; connect-src ''self'' https://www.apple.com - https://appleid.cdn-apple.com https://webcourier.sandbox.push.apple.com https://xp-qa.apple.com - ; font-src ''self'' https://www.apple.com https://appleid.cdn-apple.com https://idmsa.apple.com - https://gsa.apple.com https://idmsa.apple.com.cn https://signin.apple.com - ; frame-src ''self'' https://appleid.apple.com https://gsa.apple.com ; img-src - ''self'' https://www.apple.com https://appleid.cdn-apple.com https://*.mzstatic.com - data: https://*.apple.com ; media-src data: ; object-src ''none'' ; script-src - ''self'' https://www.apple.com https://appleid.cdn-apple.com https://idmsa.apple.com - https://gsa.apple.com https://idmsa.apple.com.cn https://signin.apple.com - ; style-src ''unsafe-inline'' ''self'' https://www.apple.com https://appleid.cdn-apple.com - https://idmsa.apple.com https://gsa.apple.com https://idmsa.apple.com.cn https://signin.apple.com - ;' - Content-Type: - - text/html;charset=UTF-8 - Date: - - Sun, 10 Dec 2023 07:23:59 GMT - Expires: - - Thu, 01 Jan 1970 00:00:00 GMT - Pragma: - - no-cache - Referrer-Policy: - - origin - Server: - - Apple - Set-Cookie: - - dslang=US-EN; Domain=apple.com; Path=/; Secure; HttpOnly - - site=USA; Domain=apple.com; Path=/; Secure; HttpOnly - - aasp=C4F8DBD63FDA6E707EC04DC8C5C54A51D10CB5E6FC501A8D548184356ABC257C11D8F15CDC21D89A3AD37A3825334221E87C81510803A846F5C836FFEFBBCC355BF706A84E83A2141E53196E055AD1CB9CB6EB294F2E2263303632EED58248B11A554C60E6DABACB0B6031513C3F19C3FF8997AD64146069; - Domain=idmsa.apple.com; Path=/; Secure; HttpOnly - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload - Transfer-Encoding: - - chunked - X-Apple-I-Request-ID: - - 163b4691-972d-11ee-a894-1573f1c74108 - X-Apple-I-Rscd: - - '403' - X-BuildVersion: - - R3_2 - X-Content-Type-Options: - - nosniff - X-FRAME-OPTIONS: - - DENY - X-XSS-Protection: - - 1; mode=block - content-length: - - '23705' - scnt: - - AAAA-kM0RjhEQkQ2M0ZEQTZFNzA3RUMwNERDOEM1QzU0QTUxRDEwQ0I1RTZGQzUwMUE4RDU0ODE4NDM1NkFCQzI1N0MxMUQ4RjE1Q0RDMjFEODlBM0FEMzdBMzgyNTMzNDIyMUU4N0M4MTUxMDgwM0E4NDZGNUM4MzZGRkVGQkJDQzM1NUJGNzA2QTg0RTgzQTIxNDFFNTMxOTZFMDU1QUQxQ0I5Q0I2RUIyOTRGMkUyMjYzMzAzNjMyRUVENTgyNDhCMTFBNTU0QzYwRTZEQUJBQ0IwQjYwMzE1MTNDM0YxOUMzRkY4OTk3QUQ2NDE0NjA2OXwxAAABjFKqRRrj_PzP2B1vON1S9Ew5AjJ3zktIxxOaplpZfDsXTWpCDvj8cMWEfMMRABJMmY8EsJN1jNyDHQ_xhefd_7XZhOFtcytP6ykt_0EkugtwQeKH7w - vary: - - accept-encoding - status: - code: 200 - message: '' -- request: - body: '{"accountCountryCode": null, "dsWebAuthToken": null, "extended_login": - true, "trustToken": ""}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '94' - Origin: - - https://www.icloud.com - Referer: - - https://www.icloud.com/ - User-Agent: - - Opera/9.52 (X11; Linux i686; U; en) - method: POST - uri: https://setup.icloud.com/setup/ws/1/accountLogin - response: - body: - string: '{"success":false,"error":"Missing apple_id field"}' - headers: - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Origin: - - https://www.icloud.com - Cache-Control: - - no-cache, no-store, private - Connection: - - keep-alive - Content-Type: - - application/json; charset=UTF-8 - Date: - - Sun, 10 Dec 2023 07:24:00 GMT - Server: - - AppleHttpServer/78689afb4479 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Apple-Edge-Response-Time: - - '13' - X-Apple-Request-UUID: - - 00c939b1-12ef-4e68-b38b-9a13c0239052 - X-Responding-Instance: - - setupservice:35000101:mr26p50ic-zteg03072401:8001:2404B363:5934c9004de5 - access-control-expose-headers: - - X-Apple-Request-UUID,Via - content-length: - - '50' - via: - - 631194250daa17e24277dea86cf30319:2661a606d824d4e3875039f2a312d349:usprz3 - x-apple-user-partition: - - '50' - status: - code: 400 - message: Bad Request version: 1