set_keepalive
now returns 2 if the connection was intentionally closed, to distinguish from actual errors.- Merged pull request from @hamishforbes adding support for "100 Continue" responses.
- Merged pull request from @hamishforbes allowing request bodies to optionally be an iterator function to stream in large bodies.
- Merged pull request from @hamishforbes adding
get_client_body_reader
utility, which returns an iterator for the current client upstream request body. res.body_reader
is now always a function, even if there is no body to be read.- Added
res.has_body
boolean flag. - Implemented streaming for HTTP 1.0 responses where no length is advertised. (Thanks @oikomi for the feature request).
- Fixed issue where body readers only honoured the initial chunk size. (Thanks @oikomi for the report).
- Added support for HTTP pipelining.