Hi Alan,

On 24/04/2020 07:09, Alan Bateman wrote:
It looks like there are >3000 lines of embedded data, is a reason why these responses can't be loaded from data files? Some of these could be text blocks too of course but they are really long and might be better as data files.

I originally had them as data files and converted them to List
of strings in the code.
The crucial issue is that this data needs CRLF at the right
places and I don't trust that they might not get changed to plain
LF at some point if kept in files (+ I dislike data file ;-) ).

I'd rather keep them as list of strings in the code.
You might have noticed (or not) that I took some care to
ensure that chunk headers would be on their own single
line which makes it easier to see the structure of the
chunked response.

I could probably remove (or shorten) the bigger ones if
that's an issue - but is that an issue?

best regards,

-- daniel

Reply via email to