Message 79896 - Python tracker
OK, another try. Please replace the previous version with these 3 lines:
encoding = os.environ.get('HTTP_TRANSFER_ENCODING')
stdin = open(sys.stdin.fileno(), 'r', encoding=encoding)
opsform = cgi.FieldStorage(stdin)