Chunked Transfer-Encoding

I’m trying to get a big amount of data from a server returning chunked encoded replies… and actually I just get the 1st reply.

I’m doing this:
std::unique_ptr inpStr(url.createInputStream(…))
String content = inpStr->readEntireStreamAsString();

The response header is indeed telling me that the response is chunked, but that’s it, I am not able to get the following data.

I found that the chunked transfer encoding is taken in account in juce_linux_Network.cpp (line 416), but I didn’t find similar stuff in juce_win32_Network.cpp

Is it normal? Do I miss something? Should I use another method?