- 11 8月, 2023 1 次提交
-
-
由 Ben Darnell 提交于
Content-length and chunk size parsing now strictly matches the RFCs. We previously used the python int() function which accepted leading plus signs and internal underscores, which are not allowed by the HTTP RFCs (it also accepts minus signs, but these are less problematic in this context since they'd result in errors elsewhere) It is important to fix this because when combined with certain proxies, the lax parsing could result in a request smuggling vulnerability (if both Tornado and the proxy accepted an invalid content-length but interpreted it differently). This is known to occur with old versions of haproxy, although the current version of haproxy is unaffected.
-
- 01 7月, 2021 1 次提交
-
-
由 SamvanLeipsig 提交于
Fix case-sensitivity for Content-Encoding: gzip. as per rfc7231 the Content-Encoding values are case-insensitive https://datatracker.ietf.org/doc/html/rfc7231#section-3.1.2.1
-
- 16 3月, 2021 6 次提交
- 01 11月, 2020 1 次提交
-
-
由 Ben Darnell 提交于
-
- 27 9月, 2020 1 次提交
-
-
由 Jeff Hunter 提交于
-
- 15 5月, 2020 1 次提交
-
-
由 marc 提交于
-
- 14 5月, 2020 1 次提交
-
-
由 marc 提交于
-
- 06 10月, 2019 1 次提交
-
-
由 John Bampton 提交于
-
- 08 9月, 2019 2 次提交
-
-
由 Bulat Khasanov 提交于
-
由 Bulat Khasanov 提交于
-
- 12 8月, 2019 1 次提交
-
-
由 Semen Zhydenko 提交于
* maintainance -> maintenance * recieving -> receiving
-
- 17 6月, 2019 1 次提交
-
-
由 Robin Roth 提交于
"Implicit-optional" mode is on by default, but that default is intended to change in the indefinite future (python/peps#689, python/typing#275). Go ahead and change to the future explicit use of Optional.
-
- 02 3月, 2019 1 次提交
-
-
由 Ben Darnell 提交于
The "provisional" typing module in 3.5.2 is kind of broken/incomplete so we need to use more forward references to avoid confusing it. The significance of this version in particular is that it was the one included in ubuntu 16.04. Fixes #2604
-
- 02 1月, 2019 1 次提交
-
-
由 Ben Darnell 提交于
After a redirect, the chunked-encoding header is already set and would not be detected correctly. This affects empty bodies with allow_nonstandard_methods and any use of body_producer.
-
- 29 12月, 2018 1 次提交
-
-
由 Ben Darnell 提交于
It's difficult to synchronize test shutdown with the exits of all coroutines, so explicitly cancel all native coroutines (which are spammy when allowed to be GC'd). Suppress logging of CancelledErrors in IOLoop.
-
- 10 12月, 2018 1 次提交
-
-
由 garenchan 提交于
The PR #2449 was incomplete, it omited consideration of another branch of the 'flush' method. In short, the future returned by 'RequestHandler.finish()' may also be the return value of 'HTTP1Connection.write()'. So we should make the same change to 'HTTP1Connection.write()'. Fix #2448.
-
- 03 11月, 2018 1 次提交
-
-
由 Ben Darnell 提交于
`black` refused to move the operator across the comment, leaving it stranded on a line by its own. The most recent version of pycodestyle complains about this.
-
- 14 10月, 2018 1 次提交
-
-
由 Ben Darnell 提交于
-
- 07 10月, 2018 1 次提交
-
-
由 Ben Darnell 提交于
It occasionally makes some odd-looking decisions and uses a lot of vertical space but overall it's a big improvement, especially for the dense type signatures.
-
- 30 9月, 2018 1 次提交
-
-
由 Ben Darnell 提交于
-
- 10 9月, 2018 1 次提交
-
-
由 Ben Darnell 提交于
-
- 20 7月, 2018 1 次提交
-
-
由 chengkang 提交于
-
- 15 7月, 2018 3 次提交
-
-
由 Ben Darnell 提交于
-
由 Ben Darnell 提交于
-
由 Ben Darnell 提交于
-
- 27 4月, 2018 1 次提交
-
-
由 Ben Darnell 提交于
Also deprecates callback arguments in httputil and http1connection
-
- 22 4月, 2018 1 次提交
-
-
由 Ben Darnell 提交于
This method is not actually redundant with HTTPMessageDelegate.on_connection_close (maybe there is a useful refactoring that would make it so, but for now it's still useful)
-
- 12 3月, 2018 1 次提交
-
-
由 Ben Darnell 提交于
Fixes #2280
-
- 07 1月, 2018 1 次提交
-
-
由 Jehiah Czebotar 提交于
setup.py is intended to be run with "python setup.py install" sources in the tornado module which have main functions/clauses are intended to be run with "python -m tornado.xxx" various demos and scripts can be run directly
-
- 05 1月, 2018 3 次提交
-
-
由 Pierce Lopez 提交于
bug introduced in #2225
-
由 Pierce Lopez 提交于
otherwise a subsequent request on the same connection will fail to be parsed thanks to @eeelin for the bug report
-
由 Sebastien Boving 提交于
-
- 03 1月, 2018 1 次提交
-
-
由 Pierce Lopez 提交于
E126 continuation line over-indented for hanging indent E128 continuation line under-indented for visual indent E129 visually indented line with same indent as next logical line
-
- 31 12月, 2017 1 次提交
-
-
由 Pierce Lopez 提交于
bug introduced in #2225
-
- 26 12月, 2017 1 次提交
-
-
由 Pierce Lopez 提交于
otherwise a subsequent request on the same connection will fail to be parsed thanks to @eeelin for the bug report
-