/django/trunk/tests/regressiontests/file_uploads/uploadhandler.py - Django - Trac
This test upload handler terminates the connection if more than a quota (5MB) is uploaded.