shibuyashadows
9 years agoVisitor
roUrlEvent headers but no response body
I am trying to http long poll a connection using a roUrlTransfer object, however it won't return a response body either synchronously or asynchronously.
I am calling AsyncGetString() then I can see from the header in the roUrlEvent that there is a response content-length: 24 so the response should be there.
<Component: roAssociativeArray> =
{
access-control-allow-origin: "*"
connection: "keep-alive"
content-length: "24"
content-type: "application/octet-stream"
date: "Thu, 15 Dec 2016 08:50:01 GMT"
set-cookie: "io=CFic4Wcp-sZN-o-JAAAQ; Path=/; HttpOnly"
}
(the response should be ÿ42["message","ok then"])
any ideas why it doesn't get filled? .GetString() on the roUrlEvent returns blank
Cheers
I am calling AsyncGetString() then I can see from the header in the roUrlEvent that there is a response content-length: 24 so the response should be there.
<Component: roAssociativeArray> =
{
access-control-allow-origin: "*"
connection: "keep-alive"
content-length: "24"
content-type: "application/octet-stream"
date: "Thu, 15 Dec 2016 08:50:01 GMT"
set-cookie: "io=CFic4Wcp-sZN-o-JAAAQ; Path=/; HttpOnly"
}
(the response should be ÿ42["message","ok then"])
any ideas why it doesn't get filled? .GetString() on the roUrlEvent returns blank
Cheers