--- cascade.py.old	2007-10-23 18:12:08.000000000 +0600
+++ cascade.py	2007-10-23 18:10:56.000000000 +0600
@@ -76,7 +76,7 @@
                 return _consuming_writer
             return start_response(status, headers, exc_info)
 
-        length = int(environ.get('CONTENT_LENGTH', '0'))
+        length = int(environ.get('CONTENT_LENGTH') or 0)
         if length > 0:
             # We have to copy wsgi.input
             copy_wsgi_input = True

