Delphi 10.0 :: Trouble with THTTPClient on iOS

Have an app which is working 100% on Android devices (no REST backend):
querying JSON data, fetching/uploading logos and images.
But on iOS we ran into big troubles:

  • chunk data sent as TStringStream led to exceptions on server like this
    „Exception EConvertError: Invalid URL-encoded char (%Yπ) at position xx“
    (TMemoryStream did not help, but base64 encoding did)
    Android doesn’t but iOS does URL-encoding with chunk data
  • any HTTP parameter is logged on server like this
    name=““Session“““ with multiple double quotes
  • changing to a TMemoryStream result looks like this
  • but same example on Android

It is quite difficult to debug and a time consuming process, but I will try.