Commit Graph

938 Commits

Author SHA1 Message Date
Igor Sobreira e5a6037872 Add test to parse_multipart_form_data() when invalid Content-Disposition 2012-01-24 23:48:54 -02:00
Igor Sobreira 76b002e8e5 Add test to parse_multipart_form_data() when missing headers 2012-01-24 23:43:47 -02:00
Igor Sobreira 554570d658 Add test to parse_multipart_form_data() on httputil when "boundary" parameter has quotes 2012-01-24 22:45:18 -02:00
Ben Darnell 067e465b92 Document curl_httpclient empty password fix.
Accept None as auth_password in simple_httpclient for consistency with
curl_httpclient.
2012-01-23 10:20:35 -08:00
Ben Darnell 9a8e5e4d86 Merge commit 'df23c' 2012-01-23 10:12:56 -08:00
Ben Darnell 7fd178840b Fix gen.engine docs on decorator order.
Add some more test cases that use gen.engine and web.asynchronous together.
2012-01-23 09:45:29 -08:00
dave mankoff df23c039d5 change encode('ascii') to utf8() 2012-01-23 08:33:51 -05:00
Ben Darnell 463baf4347 Add a timeout to test_sslv2_fail so it passes on cygwin. 2012-01-22 18:15:01 -08:00
Ben Darnell e04957d535 Doc updates 2012-01-22 17:52:43 -08:00
Ben Darnell 9c3afde89e Release note updates 2012-01-22 17:04:51 -08:00
Ben Darnell 98b088638e Make StaticFileHandler.parse_url_path an instance method, and make
it responsible for os.path.sep conversion.

Assorted doc updates for StaticFileHandler.
2012-01-22 15:26:35 -08:00
Ben Darnell 983fdbbe3e Merge commit '59812' into work 2012-01-22 14:56:21 -08:00
Ben Darnell 7f7928f2ee Merge remote-tracking branch 'birknilson/static_url_override' into work 2012-01-22 14:25:16 -08:00
Ben Darnell 3bb80eb83f Always set Etag in StaticFileHandler so it won't break if the default
Etag implementation in RequestHandler changes.
2012-01-22 14:19:19 -08:00
dave mankoff bcb30e56fd fix curl basic auth 2012-01-22 17:15:10 -05:00
Ben Darnell 76dd88f1bc Merge remote-tracking branch 'lerks/master' into work 2012-01-22 14:10:14 -08:00
Ben Darnell 1b38b58da8 Update websocket chat demo to work when not addressed as localhost.
Turn on draft76 support.
2012-01-21 17:39:37 -08:00
Ben Darnell 3beb8ce480 Merge remote-tracking branch 'MrJoes/master' into work
Conflicts:
	tornado/websocket.py
2012-01-21 17:28:07 -08:00
Ben Darnell 442b49f866 Refactor websocket close logic; remove dependency on singleton IOLoop. 2012-01-21 17:20:10 -08:00
Ben Darnell 5a18d50f44 Disable slow websocket performance tests by default.
Add pypy to the mix for when we do run the perf tests.  Depending on
the benchmark pypy is ~twice as fast as cpython 2.7
2012-01-21 17:12:22 -08:00
Ben Darnell bc28966ef5 Remove stray log line 2012-01-21 16:16:36 -08:00
Ben Darnell ea0291b256 Check if the stream is closed before writing final websocket close packet.
Closes #390.
2012-01-21 16:02:28 -08:00
Ben Darnell eee9953dcb Websocket subprotocol updates.
Failure to select a subprotocol is not fatal, so rename method from
validate_subprotocol to select_subprotocol.  Subprotocols are a
comma-separated list in the RFC version, but a single value in
draft76.
2012-01-21 16:02:12 -08:00
Ben Darnell 1cfcc4a7bc Merge remote-tracking branch 'davidgaleano/master' into work
Conflicts:
	tornado/websocket.py
2012-01-21 15:15:12 -08:00
Ben Darnell cc671cb55c Allow handlers to override the selection of "ws" or "wss" in the draft76
handshake, to work with SSL proxies that do not insert an X-Scheme header.

Closes #437.
2012-01-21 14:56:43 -08:00
Ben Darnell 4edf2782b5 Merge remote-tracking branch 'nephics/master' into work 2012-01-21 14:45:51 -08:00
Ben Darnell 1014d5683e Check in a requirements file for the tools I use while working on tornado. 2012-01-21 14:35:21 -08:00
Ben Darnell 35139ff82c Add .coveragerc for test coverage reporting.
Closes #439.
2012-01-21 14:10:00 -08:00
Ben Darnell 8b668633ad Add 307 too and update release notes. 2012-01-18 01:17:30 -08:00
Ben Darnell 24d96f0286 Merge remote-tracking branch 'amorton/master'
Conflicts:
	tornado/test/simple_httpclient_test.py
2012-01-18 01:11:21 -08:00
Ben Darnell 97b4b15cda Release note updates for twitter client changes 2012-01-18 01:00:06 -08:00
Ben Darnell 76ba232345 Make TwitterMixin.twitter_request accept complete urls, not just partial paths.
Closes #418.
2012-01-18 00:57:55 -08:00
Ben Darnell cadfb90116 Merge remote-tracking branch 'gutomaia/master' 2012-01-18 00:51:30 -08:00
Ben Darnell 6dfc1b75d2 Add RequestHandler.on_finish method.
Closes #367.
2012-01-18 00:43:38 -08:00
Ben Darnell af940f4e0b Major update to tornado.platform.twisted.
Significantly improved compatibility (most important changes are in
TornadoReactor._invoke_callback) and expanded test coverage.
2012-01-16 23:30:41 -08:00
Ben Darnell 36226505ba Support non-integer timeouts for curl_httpclient.
Closes #399.
2012-01-13 23:12:39 -08:00
Ben Darnell 4457f2b9f8 Add a fourth release status field to tornado.version_info.
Closes #432.
2012-01-13 23:07:37 -08:00
Ben Darnell fea44c7b4e Release note update 2012-01-13 23:06:49 -08:00
Ben Darnell 9fcf106a6d Merge remote-tracking branch 'pkienzle/master' 2012-01-13 22:51:26 -08:00
Ben Darnell e552346a49 The Connection request header should be case-insensitive. 2012-01-13 22:46:08 -08:00
Ben Darnell 26a06a0b16 Add a new(er) ubuntu vm setup to test missing SSLv2 2012-01-10 10:26:15 -08:00
Ben Darnell b8939293f3 Some python/openssl builds don't have SSLv2 compiled in, so skip the
test in this case.
2012-01-10 10:24:10 -08:00
Paul Kienzle 5d240e4924 make sure addresses returned from getaddrinfo are unique 2012-01-10 12:41:43 -05:00
Ben Darnell f62e915404 Release notes for the last two ssl changes 2012-01-09 23:50:43 -08:00
Ben Darnell dbe1c9bc84 Disable SSLv2 in simple_httpclient.
Contrary to the python documentation, SSLv2 is enabled by default
unless openssl version 1.0 or newer is used; older versions appear
to still be in use (e.g. in Ubuntu 10.04 LTS and Mac OS X Lion)
2012-01-09 11:59:24 -08:00
Ben Darnell 17052f33c9 Make SSLIOStream compatible with SSLv3- and TLSv1-only servers.
Due to some implementation detail the default SSLv23 mode allows reads
before the handshake has completed, but the other modes do not.

Closes #431.
2012-01-09 11:56:44 -08:00
Ben Darnell 98f77972ae Make it possible to run the test suite with --httpclient=CurlAsyncHTTPClient 2012-01-08 13:49:30 -08:00
Ben Darnell 0a949c07be Update docs for recent websocket changes 2012-01-08 00:01:18 -08:00
Ben Darnell ef4f2bb0e1 Disable websocket draft76 protocol by default. 2012-01-07 23:24:30 -08:00
Ben Darnell 33cd3456d5 Add an explicit binary option to WebSocketHandler.write_message.
Switching automatically based on python's bytes vs unicode types is
error-prone in python2 where e.g. json_encode returns bytes.

Closes #429.
2012-01-07 17:34:48 -08:00