Hi there,
since Safari 18 all responses with Transfer-Encoding: chunked throw the error: „cannot parse response“ (NSURLErrorDomain:-1.017).
To fix this you need to change line 320 of WebResponses.cpp to:
outLen = sprintf((char*)buf+headLen, "%04x", readLen) + headLen;
and delete line 321.
Even though the comment above says that spaces are allowed, I couldn't find that in the RFC. With the leading 0 it works with Safari 18 and Firefox, Curl and Chrome.
Hope this helps and would be happy if this gets into the code.
Best regards
Andreas