We now use the status code to determine if there are muliple lines, instead of checking for the :. We treat 1xx and 200 as single line responses and expect everything else to be multiline.
We also refactored the parser which improves overall performance, and correctly handle if the data arrives in random segments. There is a test that checks we can handle a response arriving character by character.
We now use the status code to determine if there are muliple lines, instead of checking for the
:
. We treat 1xx and 200 as single line responses and expect everything else to be multiline.We also refactored the parser which improves overall performance, and correctly handle if the data arrives in random segments. There is a test that checks we can handle a response arriving character by character.
fixes #44
based off #46 closes #46 closes #45