@@ -8,7 +8,7 @@ Backwards-incompatible changes
8
8
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9
9
10
10
* Support for secure cookies written by pre-1.0 releases of Tornado has
11
- been removed. The `RequestHandler.get_secure_cookie ` method no longer
11
+ been removed. The `. RequestHandler.get_secure_cookie ` method no longer
12
12
takes an ``include_name `` parameter.
13
13
* The ``debug `` application setting now causes stack traces to be displayed
14
14
in the browser on uncaught exceptions. Since this may leak sensitive
@@ -18,7 +18,7 @@ Security fixes
18
18
~~~~~~~~~~~~~~
19
19
20
20
* Diginotar has been removed from the default CA certificates file used
21
- by `SimpleAsyncHTTPClient `.
21
+ by `` SimpleAsyncHTTPClient ` `.
22
22
23
23
New modules
24
24
~~~~~~~~~~~
@@ -32,7 +32,7 @@ New modules
32
32
* `tornado.process `: Multi-process mode has been improved, and can now restart
33
33
crashed child processes. A new entry point has been added at
34
34
`tornado.process.fork_processes `, although
35
- `tornado.httpserver.HTTPServer.start ` is still supported.
35
+ `` tornado.httpserver.HTTPServer.start ` ` is still supported.
36
36
37
37
``tornado.web ``
38
38
~~~~~~~~~~~~~~~
@@ -54,12 +54,12 @@ New modules
54
54
argument to set the ``max-age `` cookie attribute (note underscore vs dash)
55
55
* `tornado.web.RequestHandler.set_default_headers ` may be overridden to set
56
56
headers in a way that does not get reset during error handling.
57
- * `RequestHandler.add_header ` can now be used to set a header that can
57
+ * `. RequestHandler.add_header ` can now be used to set a header that can
58
58
appear multiple times in the response.
59
- * `RequestHandler.flush ` can now take a callback for flow control.
59
+ * `. RequestHandler.flush ` can now take a callback for flow control.
60
60
* The ``application/json `` content type can now be gzipped.
61
61
* The cookie-signing functions are now accessible as static functions
62
- `tornado.web.create_signed_value ` and `tornado.web.decode_signed_value `.
62
+ `` tornado.web.create_signed_value `` and `` tornado.web.decode_signed_value ` `.
63
63
64
64
``tornado.httpserver ``
65
65
~~~~~~~~~~~~~~~~~~~~~~
@@ -70,7 +70,7 @@ New modules
70
70
* The ``cookies `` property is now available on `tornado.httpserver.HTTPRequest `
71
71
(it is also available in its old location as a property of
72
72
`~tornado.web.RequestHandler `)
73
- * `tornado.httpserver.HTTPServer.bind ` now takes a backlog argument with the
73
+ * `` tornado.httpserver.HTTPServer.bind ` ` now takes a backlog argument with the
74
74
same meaning as ``socket.listen ``.
75
75
* `~tornado.httpserver.HTTPServer ` can now be run on a unix socket as well
76
76
as TCP.
@@ -82,23 +82,23 @@ New modules
82
82
83
83
* `~tornado.iostream.IOStream ` performance has been improved, especially for
84
84
small synchronous requests.
85
- * New methods `tornado.iostream.IOStream.read_until_close ` and
86
- `tornado.iostream.IOStream.read_until_regex `.
87
- * `IOStream.read_bytes ` and `IOStream.read_until_close ` now take a
85
+ * New methods `` tornado.iostream.IOStream.read_until_close ` ` and
86
+ `` tornado.iostream.IOStream.read_until_regex ` `.
87
+ * `` IOStream.read_bytes `` and `` IOStream.read_until_close ` ` now take a
88
88
``streaming_callback `` argument to return data as it is received rather
89
89
than all at once.
90
- * `IOLoop.add_timeout ` now accepts `datetime.timedelta ` objects in addition
90
+ * `. IOLoop.add_timeout ` now accepts `datetime.timedelta ` objects in addition
91
91
to absolute timestamps.
92
92
* `~tornado.ioloop.PeriodicCallback ` now sticks to the specified period
93
93
instead of creeping later due to accumulated errors.
94
94
* `tornado.ioloop.IOLoop ` and `tornado.httpclient.HTTPClient ` now have
95
95
``close() `` methods that should be used in applications that create
96
96
and destroy many of these objects.
97
- * `IOLoop.install ` can now be used to use a custom subclass of IOLoop
97
+ * `. IOLoop.install ` can now be used to use a custom subclass of IOLoop
98
98
as the singleton without monkey-patching.
99
99
* `~tornado.iostream.IOStream ` should now always call the close callback
100
100
instead of the connect callback on a connection error.
101
- * The `IOStream ` close callback will no longer be called while there
101
+ * The `. IOStream ` close callback will no longer be called while there
102
102
are pending read callbacks that can be satisfied with buffered data.
103
103
104
104
@@ -112,7 +112,7 @@ New modules
112
112
* The ``allow_nonstandard_methods `` flag on HTTP client requests now
113
113
permits methods other than ``POST `` and ``PUT `` to contain bodies.
114
114
* Fixed file descriptor leaks and multiple callback invocations in
115
- `SimpleAsyncHTTPClient `
115
+ `` SimpleAsyncHTTPClient ` `
116
116
* No longer consumes extra connection resources when following redirects.
117
117
* Now works with buggy web servers that separate headers with ``\n `` instead
118
118
of ``\r\n\r\n ``.
@@ -123,14 +123,14 @@ New modules
123
123
Other modules
124
124
~~~~~~~~~~~~~
125
125
126
- * `tornado.auth.OpenIDMixin ` now uses the correct realm when the
126
+ * `tornado.auth.OpenIdMixin ` now uses the correct realm when the
127
127
callback URI is on a different domain.
128
128
* `tornado.autoreload ` has a new command-line interface which can be used
129
129
to wrap any script. This replaces the ``--autoreload `` argument to
130
130
`tornado.testing.main ` and is more robust against syntax errors.
131
131
* `tornado.autoreload.watch ` can be used to watch files other than
132
132
the sources of imported modules.
133
- * `tornado.database.Connection ` has new variants of ``execute `` and
133
+ * `` tornado.database.Connection ` ` has new variants of ``execute `` and
134
134
``executemany `` that return the number of rows affected instead of
135
135
the last inserted row id.
136
136
* `tornado.locale.load_translations ` now accepts any properly-formatted
@@ -156,7 +156,7 @@ Bug fixes
156
156
and unquoted.
157
157
* Multi-line headers are now supported.
158
158
* Repeated Content-Length headers (which may be added by certain proxies)
159
- are now supported in `HTTPServer `.
159
+ are now supported in `. HTTPServer `.
160
160
* Unicode string literals now work in template expressions.
161
161
* The template ``{% module %} `` directive now works even if applications
162
162
use a template variable named ``modules ``.
0 commit comments