Tornado 4.5.3 发布,Python Web 框架和异步网络库

栏目: 软件资讯 · 发布时间: 7年前

内容简介:Tornado 是使用 Python 开发的全栈式(full-stack)Web 框架和异步网络库,最早由 Friendfeed 开发。通过使用非阻塞 IO,Tornado 可以处理数以万计的开放连接,是 long polling、WebSockets 和其他需要为用户维护...

Tornado 是使用 Python 开发的全栈式(full-stack)Web 框架和异步网络库,最早由 Friendfeed 开发。通过使用非阻塞 IO,Tornado 可以处理数以万计的开放连接,是 long polling、WebSockets 和其他需要为用户维护长连接应用的理想选择。

Tornado 4.5.3 已发布,更新如下:

tornado.curl_httpclient

  • Improved debug logging on Python 3.

tornado.httpserver

  • Content-Length and Transfer-Encoding headers are no longer sent with 1xx or 204 responses (this was already true of 304 responses).

  • Reading chunked requests no longer leaves the connection in a broken state.

tornado.iostream

  • Writing a memoryview can no longer result in "BufferError: Existing exports of data: object cannot be re-sized".

tornado.options

  • Duplicate option names are now detected properly whether they use hyphens or underscores.

tornado.testing

  • .AsyncHTTPTestCase.fetch now uses 127.0.0.1 instead of localhost, improving compatibility with systems that have partially-working ipv6 stacks.

tornado.web

  • It is no longer allowed to send a body with 1xx or 204 responses.

tornado.websocket

  • Requests with invalid websocket headers now get a response with status code 400 instead of a closed connection.

下载地址:


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

AI极简经济学

AI极简经济学

阿杰伊·阿格拉沃尔、乔舒亚·甘斯、阿维·戈德法布 / 闾佳 / 湖南科技出版社 / 2018-12-1 / 58.00

人工智能正在以不可阻挡的态势席卷全球。无论是iPhone的神经网络引擎、AlphaGo的围棋算法,还是无人驾驶、深度学习……毫无疑问,人工智能正在改写行业形态。如同此前个人电脑、互联网、大数据的风行一般,技术创新又一次极大地改变了我们的工作与生活。 那么,究竟应该如何看待人工智能?在《AI极简经济学》一书中,三位深耕人工智能和决策领域的经济学家给出了清晰的答案。他们以坚实的经济学理论剖析动态,把握......一起来看看 《AI极简经济学》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

在线进制转换器
在线进制转换器

各进制数互转换器

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码