'Multipart POST requests with Content-Length >= 0 are valid and need to be handled.'

def test_POST_multipart_with_content_length_zero(self):

    payload = FakePayload(u'\r\n'.join([u'--boundary', u'Content-Disposition:    form-data;    name="name"', u'', u'value', u'--boundary--']))
    request = WSGIRequest({u'REQUEST_METHOD': u'POST', u'CONTENT_TYPE': u'multipart/form-data;    boundary=boundary', u'CONTENT_LENGTH': 0, u'wsgi.input': payload})
    self.assertEqual(request.POST, {})
