mirror of
https://github.com/RevenueCat/purchases-ios
synced 2026-11-11 22:55:55 +05:45
When receiving 500 responses, `HTTPClient` was always calling `ErrorResponse.from(_ data: Data)`, which tried to decode the content as if it was JSON. However, if the response had something completely different, it would fail to decode. This wasn't really a bug because `HTTPClient` was still forwarding the right result, but now it will do so without even trying to parse it.