Closed erikd closed 13 years ago
Do you believe this code is now ready to be released?
With this patch it now seems to be working for everything I've tested. Pretty sure there are still other corner cases to be found :-).
OK, new version on hackage. Let me know if something goes wrong ;)
Thanks!
The problem I described in issue #37 was that for the case where there the transfer encoding is not chunked it would still end up using a chunked enumeratee due to the Nothing in:
With this patch, we only use chunkedEnumeratee and chunkedTerminator when the transfer encoding is in fact chunked. Otherwise we either use the provided content-length or id (because if is no content-length provided the server should close the connection at the end of the transfer).