facebook/tornado — pull request #428 by nephics (2012-01-05 11:19:38+00:00)
Title: Set the request cookie property to an empty dict if cookie parsing fails

This commit reverses the bug introduced in commit https://github.com/facebook/tornado/commit/4a4d871, leaving an undefined cookies property on failure to parse a request cookie.

The bug results in a 'NoneType is not iterable' error when calling
RequestHandler.get_cookie() after a cookie parsing exception.