Trying to use the xojo.net.httpsocket to establish long-term async communication to a service, but I’m getting this error from the server that I’m talking to:
Failed: Expected HTTP chunked encoding for long running commands
From what I can see, the HTTP 1.1 support was added to xojo.net.httpsocket sometime in 2015, but I can’t find a Xojo equivalent to the SendChunked property in the provider’s C# sample code shown below.
EXCERPT FROM C# SAMPLE:
HttpWebRequest request = HttpWebRequest.Create(“https://TheirServiceURLl”) as HttpWebRequest;
request.Method = “POST”;
request.ContentType = “text/xml”;
request.SendChunked = true;
Is there any Xojo equivalent to specify SendChunked? I have MBS plugins and believe it could also be done using CURLS, but I haven’t found any sample code for doing this there either…
Any help appreciated!