Merge pull request #388 from JackDandy/feature/UpdateTornado

Update Tornado webserver to 4.2 (fdfaf3d).
This commit is contained in:
JackDandy 2015-06-06 06:02:08 +01:00
commit 2f7b0f8a0e
3 changed files with 5 additions and 4 deletions

View file

@ -1,7 +1,7 @@
### 0.10.0 (2015-xx-xx xx:xx:xx UTC) ### 0.10.0 (2015-xx-xx xx:xx:xx UTC)
* Remove EZRSS provider * Remove EZRSS provider
* Update Tornado webserver to 4.2b1 (61a16c9) * Update Tornado webserver to 4.2 (fdfaf3d)
* Update change to suppress reporting of Tornado exception error 1 to updated package (ref:hacks.txt) * Update change to suppress reporting of Tornado exception error 1 to updated package (ref:hacks.txt)
* Update fix for API response header for JSON content type and the return of JSONP data to updated package (ref:hacks.txt) * Update fix for API response header for JSON content type and the return of JSONP data to updated package (ref:hacks.txt)
* Update Requests library 2.6.2 to 2.7.0 (8b5e457) * Update Requests library 2.6.2 to 2.7.0 (8b5e457)
@ -22,6 +22,7 @@
[develop changelog] [develop changelog]
* Update Requests library 2.7.0 (ab1f493) to 2.7.0 (8b5e457) * Update Requests library 2.7.0 (ab1f493) to 2.7.0 (8b5e457)
* Update Tornado webserver from 4.2.dev1 (609dbb9) to 4.2b1 (61a16c9)
### 0.9.1 (2015-05-25 03:03:00 UTC) ### 0.9.1 (2015-05-25 03:03:00 UTC)

View file

@ -25,5 +25,5 @@ from __future__ import absolute_import, division, print_function, with_statement
# is zero for an official release, positive for a development branch, # is zero for an official release, positive for a development branch,
# or negative for a release candidate or beta (after the base version # or negative for a release candidate or beta (after the base version
# number has been incremented) # number has been incremented)
version = "4.2b1" version = "4.2"
version_info = (4, 2, 0, -99) version_info = (4, 2, 0, 0)

View file

@ -394,7 +394,7 @@ class HTTPServerRequest(object):
""" """
assert isinstance(chunk, bytes) assert isinstance(chunk, bytes)
assert self.version.startswith("HTTP/1."), \ assert self.version.startswith("HTTP/1."), \
"deprecated interface ony supported in HTTP/1.x" "deprecated interface only supported in HTTP/1.x"
self.connection.write(chunk, callback=callback) self.connection.write(chunk, callback=callback)
def finish(self): def finish(self):