]> git.ipfire.org Git - thirdparty/tornado.git/log
thirdparty/tornado.git
11 years agoAllow deleting all cookies on custom domains 873/head 874/head
Karlis Lauva [Fri, 9 Aug 2013 10:43:20 +0000 (13:43 +0300)] 
Allow deleting all cookies on custom domains

12 years agoLess crude fix for #855: only do anything for already-connected sockets.
Ben Darnell [Sun, 4 Aug 2013 22:35:50 +0000 (18:35 -0400)] 
Less crude fix for #855: only do anything for already-connected sockets.

12 years agoMerge remote-tracking branch 'pitrou/issue855-ssl-auto-handshake'
Ben Darnell [Sun, 4 Aug 2013 22:33:37 +0000 (18:33 -0400)] 
Merge remote-tracking branch 'pitrou/issue855-ssl-auto-handshake'

12 years agoRequestHandler sets its close callback on the HTTPConnection, not the IOStream.
Ben Darnell [Sun, 4 Aug 2013 22:10:21 +0000 (18:10 -0400)] 
RequestHandler sets its close callback on the HTTPConnection, not the IOStream.

Fixes a bug in which close callbacks would never be called for subsequent
requests on a reused connection.

12 years agoClear the IOStream buffers on close even when there is no close callback.
Ben Darnell [Sun, 4 Aug 2013 22:08:01 +0000 (18:08 -0400)] 
Clear the IOStream buffers on close even when there is no close callback.

Closes #828. (again)

12 years agoRoute all callback error logging in IOLoop through handle_callback_exception.
Ben Darnell [Sun, 4 Aug 2013 19:45:35 +0000 (15:45 -0400)] 
Route all callback error logging in IOLoop through handle_callback_exception.

12 years agoMerge pull request #859 from schlamar/patch-1
bdarnell [Sat, 20 Jul 2013 02:42:54 +0000 (19:42 -0700)] 
Merge pull request #859 from schlamar/patch-1

Make poll timeout patchable.

12 years agoMake poll timeout patchable. 859/head
Marc Schlaich [Fri, 19 Jul 2013 11:36:00 +0000 (13:36 +0200)] 
Make poll timeout patchable.

12 years agoCrude fix for issue #855: automatically initiate SSL handshake in SSLIOStream. 856/head
Antoine Pitrou [Wed, 17 Jul 2013 13:09:05 +0000 (15:09 +0200)] 
Crude fix for issue #855: automatically initiate SSL handshake in SSLIOStream.
Perhaps this should be exposed as an option instead?

12 years agoMerge pull request #851 from taguchimail/master
bdarnell [Tue, 16 Jul 2013 01:10:05 +0000 (18:10 -0700)] 
Merge pull request #851 from taguchimail/master

Correctly handle EAGAIN when writing to PipeIOStreams

12 years agoMerge pull request #848 from SuprDewd/issue_820
bdarnell [Tue, 16 Jul 2013 01:04:09 +0000 (18:04 -0700)] 
Merge pull request #848 from SuprDewd/issue_820

Fixed laziness of current_user in UI modules, and added tests for current_user.

12 years agoCorrectly handle EAGAIN when writing to PipeIOStreams 851/head
Ben Dyer [Fri, 12 Jul 2013 06:35:09 +0000 (16:35 +1000)] 
Correctly handle EAGAIN when writing to PipeIOStreams

BaseIOStream._handle_write needs to catch IOError and OSError as
well as socket.error in order to handle EAGAIN when writing to a
PipeIOStream (which doesn't appear to raise socket.error when the
buffer is full).

This also provides consistency with the exceptions caught by
BaseIOStream._read_to_buffer.

12 years agoFix exception in StaticFileHandler when range requested is larger than file.
Ben Darnell [Thu, 11 Jul 2013 18:00:37 +0000 (14:00 -0400)] 
Fix exception in StaticFileHandler when range requested is larger than file.

12 years agoFixed laziness of current_user in UI modules, and added tests for current_user. #820 848/head
SuprDewd [Wed, 10 Jul 2013 00:10:34 +0000 (00:10 +0000)] 
Fixed laziness of current_user in UI modules, and added tests for current_user. #820

12 years agoClear the write buffer when an IOStream is closed.
Ben Darnell [Sun, 7 Jul 2013 17:38:08 +0000 (13:38 -0400)] 
Clear the write buffer when an IOStream is closed.

Closes #828.

12 years agoUnify lists of errnos used in IOStream.
Ben Darnell [Sun, 7 Jul 2013 17:30:00 +0000 (13:30 -0400)] 
Unify lists of errnos used in IOStream.

We generally want to treat aborted connections the same regardless of the
specific errno, but some calls caught ECONNRESET and ECONNABORTED
while others only caught ECONNRESET.  Reported in #828.

12 years agoStart next release notes
Ben Darnell [Sun, 7 Jul 2013 16:29:09 +0000 (12:29 -0400)] 
Start next release notes

12 years agoClear the loop variable in addition to the callback list.
Ben Darnell [Sun, 7 Jul 2013 16:13:52 +0000 (12:13 -0400)] 
Clear the loop variable in addition to the callback list.

Closes #844.

12 years agoUpdate FacebookGraphMixin with new authorization url.
Ben Darnell [Fri, 5 Jul 2013 17:13:40 +0000 (13:13 -0400)] 
Update FacebookGraphMixin with new authorization url.

The old url still works, but results in an extra redirect.

12 years agoUse TracebackFuture for all internal Futures for better tracebacks on py2.x.
Ben Darnell [Fri, 5 Jul 2013 17:08:44 +0000 (13:08 -0400)] 
Use TracebackFuture for all internal Futures for better tracebacks on py2.x.

12 years agoClear local variables in IOLoop to allow GC before we start polling.
Ben Darnell [Fri, 5 Jul 2013 16:57:03 +0000 (12:57 -0400)] 
Clear local variables in IOLoop to allow GC before we start polling.

Closes #836.

12 years agoClose pipe file descriptors if subprocess.Popen fails.
Ben Darnell [Fri, 5 Jul 2013 16:53:37 +0000 (12:53 -0400)] 
Close pipe file descriptors if subprocess.Popen fails.

Closes #834.

12 years agoAdd apostrophes to xhtml_escape.
Ben Darnell [Fri, 5 Jul 2013 16:46:49 +0000 (12:46 -0400)] 
Add apostrophes to xhtml_escape.

Closes #833.

12 years agoUpdate twisted test blacklist for the newly-released 13.1.0.
Ben Darnell [Mon, 1 Jul 2013 00:25:16 +0000 (20:25 -0400)] 
Update twisted test blacklist for the newly-released 13.1.0.

12 years agoMerge pull request #831 from erkyrath/master
bdarnell [Sun, 30 Jun 2013 23:38:44 +0000 (16:38 -0700)] 
Merge pull request #831 from erkyrath/master

Fixed incorrect error message in _when_complete (#829)

12 years agoFix run_with_stack_context test.
Ben Darnell [Mon, 24 Jun 2013 23:39:25 +0000 (16:39 -0700)] 
Fix run_with_stack_context test.

This test would never fail because it didn't check the result of its
Future.  Thanks to Florian Ludwig for pointing this out.

12 years agoFix issue 829 -- error message is displaying wrong incorrect result. 831/head
Andrew Plotkin [Sat, 22 Jun 2013 18:03:50 +0000 (14:03 -0400)] 
Fix issue 829 -- error message is displaying wrong incorrect result.

12 years agoMerge pull request #824 from GrahamDumpleton/master
bdarnell [Tue, 18 Jun 2013 02:51:22 +0000 (19:51 -0700)] 
Merge pull request #824 from GrahamDumpleton/master

WSGI specification requires that close() be called on iterable no matter what happens.

12 years agoSet master branch version to 3.2.dev1
Ben Darnell [Tue, 18 Jun 2013 02:49:27 +0000 (22:49 -0400)] 
Set master branch version to 3.2.dev1

12 years agoWSGI specification requires that close() be called on iterable no matter what happens. 824/head
Graham Dumpleton [Mon, 17 Jun 2013 05:49:42 +0000 (15:49 +1000)] 
WSGI specification requires that close() be called on iterable no matter what happens.

12 years agoSet version to 3.1. v3.1.0
Ben Darnell [Sat, 15 Jun 2013 18:15:54 +0000 (14:15 -0400)] 
Set version to 3.1.

12 years agoMove next release notes to v3.1.
Ben Darnell [Sat, 15 Jun 2013 18:15:24 +0000 (14:15 -0400)] 
Move next release notes to v3.1.

12 years agoRelease note updates.
Ben Darnell [Sat, 15 Jun 2013 18:03:25 +0000 (14:03 -0400)] 
Release note updates.

12 years agoRemove obsolete comment about twitter's support for callback urls.
Ben Darnell [Fri, 14 Jun 2013 23:30:30 +0000 (19:30 -0400)] 
Remove obsolete comment about twitter's support for callback urls.

12 years agoAdd another small encoding test for xhtml_escape.
Ben Darnell [Thu, 13 Jun 2013 16:14:52 +0000 (12:14 -0400)] 
Add another small encoding test for xhtml_escape.

12 years agoFix default IOLoop in Subprocess.
Ben Darnell [Wed, 12 Jun 2013 03:52:36 +0000 (23:52 -0400)] 
Fix default IOLoop in Subprocess.

Exit callbacks would fail for Subprocesses that did not explicitly
set an IOLoop.

12 years agoSet CLOEXEC on subprocess pipe endpoints so they are not inherited by the child.
Ben Darnell [Wed, 12 Jun 2013 03:32:40 +0000 (23:32 -0400)] 
Set CLOEXEC on subprocess pipe endpoints so they are not inherited by the child.

This is what the subprocess module does when it creates pipes, and is
necessary so that a close of the writing side of the stdin pipe will
be recognized by the child process.

12 years agoMerge pull request #823 from schlamar/bind-sockets-ipv6
bdarnell [Wed, 12 Jun 2013 02:16:12 +0000 (19:16 -0700)] 
Merge pull request #823 from schlamar/bind-sockets-ipv6

Fix bind_sockets if OS does not support IPv6

12 years agoDoc updates from Zhigang Wang
Ben Darnell [Wed, 12 Jun 2013 02:11:49 +0000 (22:11 -0400)] 
Doc updates from Zhigang Wang

12 years agoFix bind_sockets if OS does not support IPv6 823/head
schlamar [Tue, 11 Jun 2013 12:38:32 +0000 (14:38 +0200)] 
Fix bind_sockets if OS does not support IPv6

12 years agoMerge pull request #819 from dominiqueplante/master
bdarnell [Thu, 6 Jun 2013 13:32:07 +0000 (06:32 -0700)] 
Merge pull request #819 from dominiqueplante/master

update comparison check to follow PEP8

12 years agoupdate comparison to follow pep8 819/head
Dominique Plante [Thu, 6 Jun 2013 06:37:13 +0000 (23:37 -0700)] 
update comparison to follow pep8

12 years agoDocument websocket error handling change (and StreamClosedError).
Ben Darnell [Thu, 6 Jun 2013 01:57:03 +0000 (21:57 -0400)] 
Document websocket error handling change (and StreamClosedError).

12 years agoCatch StreamClosedErrors in WebSocketHandler and abort.
Ben Darnell [Thu, 6 Jun 2013 01:43:16 +0000 (21:43 -0400)] 
Catch StreamClosedErrors in WebSocketHandler and abort.

When the stream is closed with buffered data, the close callback won't
be run until all buffered data is consumed, but any attempt to write
to the stream will fail, as will reading past the end of the buffer.
This requires a try/except around each read or write, analogous to the
one introduced in HTTPServer in commit 3258726f.

Closes #604.
Closes #661.

12 years agoSet version number to 3.1b1
Ben Darnell [Wed, 5 Jun 2013 13:21:52 +0000 (09:21 -0400)] 
Set version number to 3.1b1

12 years agoRelease note updates
Ben Darnell [Wed, 5 Jun 2013 05:00:09 +0000 (01:00 -0400)] 
Release note updates

12 years agogen.coroutine works with auth now so we can use it in the docs.
Ben Darnell [Mon, 3 Jun 2013 01:18:32 +0000 (21:18 -0400)] 
gen.coroutine works with auth now so we can use it in the docs.

12 years agoMerge branch 'branch3.0'
Ben Darnell [Mon, 3 Jun 2013 01:16:48 +0000 (21:16 -0400)] 
Merge branch 'branch3.0'

Conflicts:
docs/releases.rst
setup.py
tornado/__init__.py
tornado/auth.py

12 years agoVersion bump and release notes for 3.0.2. branch3.0 v3.0.2
Ben Darnell [Sun, 2 Jun 2013 20:27:28 +0000 (16:27 -0400)] 
Version bump and release notes for 3.0.2.

12 years agoUpdate twitter base urls to use api 1.1 and HTTPS.
Ben Darnell [Sat, 1 Jun 2013 01:49:08 +0000 (21:49 -0400)] 
Update twitter base urls to use api 1.1 and HTTPS.

This is in preparation for the shutdown of version 1 of the API on
June 11.

Closes #809.

12 years agoCopy .gitignore update from master to branch3.0
Ben Darnell [Sun, 2 Jun 2013 20:04:57 +0000 (16:04 -0400)] 
Copy .gitignore update from master to branch3.0

12 years agoRestore a recently-removed ExpectLog in simple_httpclient_test.
Ben Darnell [Sat, 1 Jun 2013 21:36:20 +0000 (17:36 -0400)] 
Restore a recently-removed ExpectLog in simple_httpclient_test.

Some IOLoops still log warnings when a connection is refused.

12 years agoReuse a single ThreadPoolExecutor for all ThreadedResolvers.
Ben Darnell [Sat, 1 Jun 2013 21:30:33 +0000 (17:30 -0400)] 
Reuse a single ThreadPoolExecutor for all ThreadedResolvers.

The primary motivation is that shutting down a ThreadPoolExecutor takes
100ms in the 2.x backported version of concurrent.futures.  It's also
generally unnecessary to create lots of DNS resolver threads just
because multiple resolver objects are used.

Document ExecutorResolver for public use.

12 years agoFix tests broken by move to verify_credentials
Ben Darnell [Sat, 1 Jun 2013 02:34:54 +0000 (22:34 -0400)] 
Fix tests broken by move to verify_credentials

12 years agoGet the current user's twitter information with /account/verify_credentials.
Ben Darnell [Sat, 1 Jun 2013 02:27:02 +0000 (22:27 -0400)] 
Get the current user's twitter information with /account/verify_credentials.

This is more robust against potentially-changing screen names.

Closes #51.

12 years agoUpdate twitter base urls to use api 1.1 and HTTPS.
Ben Darnell [Sat, 1 Jun 2013 01:49:08 +0000 (21:49 -0400)] 
Update twitter base urls to use api 1.1 and HTTPS.

This is in preparation for the shutdown of version 1 of the API on
June 11.

Closes #809.

12 years agoAdd a simple end-to-end demo of TwitterMixin.
Ben Darnell [Sat, 1 Jun 2013 01:46:53 +0000 (21:46 -0400)] 
Add a simple end-to-end demo of TwitterMixin.

12 years agoMake the auth*_redirect methods all return Futures.
Ben Darnell [Sat, 1 Jun 2013 00:45:42 +0000 (20:45 -0400)] 
Make the auth*_redirect methods all return Futures.

The OAuth 1.0 authorize_redirect is asynchronous, but this is not obvious
since it doesn't take a callback and instead just calls self.finish.
This fails in coroutines because the request will be auto-finished too soon.
Add Future returns to this method, and to all the rest for consistency.

Update docs and add tests for the various styles of login handlers.

12 years agoDoc patch for 3.0: replace @gen.coroutine with @gen.engine.
Ben Darnell [Sat, 1 Jun 2013 00:03:02 +0000 (20:03 -0400)] 
Doc patch for 3.0: replace @gen.coroutine with @gen.engine.

The oauth 1.0 redirect methods are asynchronous even though they don't
take a callback, so we don't want the end of the coroutine to trigger
a call to self.finish.

12 years agoMerge pull request #817 from ysimonson/feature/no-body-in-logs
bdarnell [Fri, 31 May 2013 23:32:22 +0000 (16:32 -0700)] 
Merge pull request #817 from ysimonson/feature/no-body-in-logs

Hide request body on error dump

12 years agoRemove logging of uncaught exceptions from SimpleAsyncHTTPClient.
Ben Darnell [Fri, 31 May 2013 23:30:37 +0000 (19:30 -0400)] 
Remove logging of uncaught exceptions from SimpleAsyncHTTPClient.

This logging was basically redundant since the exception is still
made available to the caller through the response's error object.

Closes #815.

12 years agoDo not include body in HTTPRequest's __repr__ 817/head
Yusuf Simonson [Fri, 31 May 2013 18:05:57 +0000 (14:05 -0400)] 
Do not include body in HTTPRequest's __repr__

12 years agoMerge pull request #808 from wolever/standards-complient-range
bdarnell [Thu, 30 May 2013 14:18:43 +0000 (07:18 -0700)] 
Merge pull request #808 from wolever/standards-complient-range

Edge cases of Range header are standards compliant

12 years agoEdge cases of Range header are standards compliant 808/head
David Wolever [Wed, 29 May 2013 19:04:15 +0000 (15:04 -0400)] 
Edge cases of Range header are standards compliant

Fix a few Range header edge cases to ensure that it is as
standards-compliant as possible.

12 years agoReturn a valid Content-Range header 806/head
David Wolever [Wed, 29 May 2013 18:37:51 +0000 (14:37 -0400)] 
Return a valid Content-Range header

12 years agoAdd versionadded tags throughout the docs.
Ben Darnell [Mon, 27 May 2013 22:01:08 +0000 (18:01 -0400)] 
Add versionadded tags throughout the docs.

12 years agoAutopep8 fixes.
Ben Darnell [Mon, 27 May 2013 21:18:38 +0000 (17:18 -0400)] 
Autopep8 fixes.

12 years agoUpdate autopep8 blacklist
Ben Darnell [Mon, 27 May 2013 21:15:24 +0000 (17:15 -0400)] 
Update autopep8 blacklist

12 years agoUpdate development dependency versions.
Ben Darnell [Mon, 27 May 2013 21:15:12 +0000 (17:15 -0400)] 
Update development dependency versions.

12 years agoRemove unused imports identified by pyflakes.
Ben Darnell [Mon, 27 May 2013 19:34:35 +0000 (15:34 -0400)] 
Remove unused imports identified by pyflakes.

12 years agoFix exception name in backported ssl fix.
Ben Darnell [Mon, 27 May 2013 19:29:07 +0000 (15:29 -0400)] 
Fix exception name in backported ssl fix.

12 years agoAdd an overridable attribute FacebookGraphMixin._FACEBOOK_BASE_URL.
Ben Darnell [Mon, 27 May 2013 19:19:04 +0000 (15:19 -0400)] 
Add an overridable attribute FacebookGraphMixin._FACEBOOK_BASE_URL.

Closes #241.

12 years agoMerge pull request #805 from chinyue/master
bdarnell [Mon, 27 May 2013 16:02:38 +0000 (09:02 -0700)] 
Merge pull request #805 from chinyue/master

Add check in case email.utils.parsedate failed

12 years agoAdd check in case parsedate failed. 805/head
Chinyue Chen [Mon, 27 May 2013 03:57:26 +0000 (11:57 +0800)] 
Add check in case parsedate failed.

email.utils.parsedate returns None if failed to parse date, add a check
to handle that.

12 years agoUse py26-compatible syntax in tests.
Ben Darnell [Mon, 27 May 2013 01:54:07 +0000 (21:54 -0400)] 
Use py26-compatible syntax in tests.

12 years agoFix an exception when the outermost stack_context is deactivated.
Ben Darnell [Sun, 26 May 2013 21:50:09 +0000 (17:50 -0400)] 
Fix an exception when the outermost stack_context is deactivated.

Add more tests for deactivation in various scenarios.

12 years agoAdd a stack_context benchmark.
Ben Darnell [Sun, 26 May 2013 18:15:12 +0000 (14:15 -0400)] 
Add a stack_context benchmark.

12 years agoMerge remote-tracking branch 'mrjoes/master' into merge
Ben Darnell [Sun, 26 May 2013 16:44:00 +0000 (12:44 -0400)] 
Merge remote-tracking branch 'mrjoes/master' into merge

12 years agoOrganize release notes by module
Ben Darnell [Sat, 25 May 2013 23:15:24 +0000 (19:15 -0400)] 
Organize release notes by module

12 years agoUpdate release notes
Ben Darnell [Sat, 25 May 2013 22:48:30 +0000 (18:48 -0400)] 
Update release notes

12 years agoRemove a seemingly unneded timeout that made this test timing-sensitive.
Ben Darnell [Sat, 25 May 2013 22:38:11 +0000 (18:38 -0400)] 
Remove a seemingly unneded timeout that made this test timing-sensitive.

12 years agoRe-add a missing abspath call.
Ben Darnell [Sat, 25 May 2013 22:31:20 +0000 (18:31 -0400)] 
Re-add a missing abspath call.

This is needed when __file__ is not absolute.

12 years agoAvoid references to self.settings in StaticFileHandler instance methods.
Ben Darnell [Sat, 25 May 2013 22:20:01 +0000 (18:20 -0400)] 
Avoid references to self.settings in StaticFileHandler instance methods.

This fixes support for secondary StaticFileHandlers configured separately
from the default static_path.

Changed the interfaces of some new-to-3.1 methods to avoid passing in
settings to class methods used in both class and instance contexts.

Closes #796.

12 years agoMerge remote-tracking branch 'wolever/fix-staticfile-serving' into merge
Ben Darnell [Sat, 25 May 2013 21:51:46 +0000 (17:51 -0400)] 
Merge remote-tracking branch 'wolever/fix-staticfile-serving' into merge

Conflicts:
tornado/test/web_test.py

12 years agoUse remove and add instead of update_handler in curl_httpclient.
Ben Darnell [Sat, 25 May 2013 19:26:37 +0000 (15:26 -0400)] 
Use remove and add instead of update_handler in curl_httpclient.

Curl sometimes fails to tell us that it has closed a socket
and reopened a new one with the same file descriptor, leading
to problems in some IOLoops.  This should fix the recurring problem
of update_handler errors in various less-common use cases.

Closes #801.
Closes #538.

12 years agoAdd a test for digest auth in curl_httpclient.
Ben Darnell [Sat, 25 May 2013 19:02:08 +0000 (15:02 -0400)] 
Add a test for digest auth in curl_httpclient.

I wrote this to test for a file descriptor bug, but can't reproduce it
on my system.

12 years agoImprove error messages bytes/unicode conversion functions.
Ben Darnell [Sat, 25 May 2013 00:36:31 +0000 (20:36 -0400)] 
Improve error messages bytes/unicode conversion functions.

12 years agoRevert change to use time.strftime (from 3.0).
Ben Darnell [Fri, 24 May 2013 04:41:23 +0000 (00:41 -0400)] 
Revert change to use time.strftime (from 3.0).

time.strftime is influenced by the user's locale (if one is set with
locale.setlocale), so it's not what we want.  Go back to the (slower)
email.utils functions.

Fixes #800.

12 years agoAdd py27-docs to tox envlist.
Ben Darnell [Fri, 24 May 2013 04:19:46 +0000 (00:19 -0400)] 
Add py27-docs to tox envlist.

12 years agoBackport changes from ssl.match_hostname in Python 3.3.
Ben Darnell [Fri, 24 May 2013 03:57:30 +0000 (23:57 -0400)] 
Backport changes from ssl.match_hostname in Python 3.3.

Includes two commits:
* Fix potential CPU DoS via abusive wildcard pattern
  http://hg.python.org/cpython/rev/fafd33db6ff6
* Fall back to common name when SAN doesn't contain any DNS names
  http://hg.python.org/cpython/rev/1b37827984ba

Closes #799.

12 years agoFix regression in async prepare: don't continue of prepare called finish.
Ben Darnell [Fri, 24 May 2013 03:52:19 +0000 (23:52 -0400)] 
Fix regression in async prepare: don't continue of prepare called finish.

12 years ago$TMPDIR isn't set on travis-ci.
Ben Darnell [Fri, 24 May 2013 03:12:05 +0000 (23:12 -0400)] 
$TMPDIR isn't set on travis-ci.

12 years agoActually install sphinx on travis; fix directory reference.
Ben Darnell [Fri, 24 May 2013 03:02:37 +0000 (23:02 -0400)] 
Actually install sphinx on travis; fix directory reference.

12 years agoFix a dangling doc reference, and add a doc check to tox and travis.
Ben Darnell [Fri, 24 May 2013 02:57:27 +0000 (22:57 -0400)] 
Fix a dangling doc reference, and add a doc check to tox and travis.

12 years agofixed bugs
cloudaice [Wed, 22 May 2013 17:55:23 +0000 (19:55 +0200)] 
fixed bugs

12 years agoMerge pull request #789 from ajdavis/opts-enhancements
bdarnell [Fri, 24 May 2013 02:36:43 +0000 (19:36 -0700)] 
Merge pull request #789 from ajdavis/opts-enhancements

Make options instance more dict-like.

12 years agoOptionParser.group_dict() now requires a group. Add as_dict(). 789/head
A. Jesse Jiryu Davis [Thu, 23 May 2013 21:06:35 +0000 (17:06 -0400)] 
OptionParser.group_dict() now requires a group. Add as_dict().

12 years agoTest revealing StaticFileHandler path regression. 796/head
David Wolever [Tue, 21 May 2013 21:06:53 +0000 (17:06 -0400)] 
Test revealing StaticFileHandler path regression.

A bisect suggests that the regression was introduced in
3f04edf5546e388293d8d1d2f015ca74f8a93217

12 years agoMerge pull request #794 from wolever/accept-range-in-static-file-handler
bdarnell [Tue, 21 May 2013 05:06:19 +0000 (22:06 -0700)] 
Merge pull request #794 from wolever/accept-range-in-static-file-handler

Send HTTP 200 in response to `Range: bytes=0-`

12 years agoOnly send Content-Range with HTTP 206 794/head
David Wolever [Tue, 21 May 2013 04:47:15 +0000 (00:47 -0400)] 
Only send Content-Range with HTTP 206