]> git.ipfire.org Git - thirdparty/tornado.git/commit
Make header_callback behavior consistent across both HTTP clients.
authorBen Darnell <ben@bendarnell.com>
Sun, 18 Nov 2012 17:25:13 +0000 (12:25 -0500)
committerBen Darnell <ben@bendarnell.com>
Sun, 18 Nov 2012 17:25:13 +0000 (12:25 -0500)
commit65d27e5a045d7e096f56bbc711ebe0f716c39d0a
tree140ae00283e2e3e94af1d40f192090d102bdea19
parent3f5e658998172a271815028f7a95903fcdb8a02c
Make header_callback behavior consistent across both HTTP clients.

SimpleAsyncHTTPClient now sends the first and last lines to the callback,
matching CurlAsyncHTTPClient's behavior.

All secondary callbacks are now wrapped for stack_context.

Closes #637.
tornado/httpclient.py
tornado/simple_httpclient.py
tornado/test/curl_httpclient_test.py
tornado/test/httpclient_test.py
website/sphinx/releases/next.rst