mirror of
https://github.com/majd/ipatool
synced 2026-11-26 17:27:52 +08:00
Apple's account bag now returns the authentication endpoint as https://auth.itunes.apple.com/auth/v1/native/fast. That endpoint only responds correctly when the path has a trailing slash; posting to it without the slash makes Apple's edge return a 301/204 with an empty or HTML body, so 'ipatool auth login' fails to parse the response and silently dies (observed as the 'plist: unexpected hex digit' error or a -5000 with no usable message). Also improve http client diagnostics: when an XML response body is not a property list, return 'unexpected response from Apple (HTTP <code>): <snippet>' instead of the opaque plist parse error.