When downloading plaintext using a TCPObject, the lines are received one at a time, causing any line endings that were there to be removed by Blockland. However, the Content-Length given by the server includes the line endings. This makes it difficult to determine where the end of the file is. For example, if the line endings are LF (\n), and I concatenate the lines with CRLF (\r\n), then the file is cut off early because \r\n is two bytes rather than one for \n.
Does anyone have ideas on how to work around this?