view bitten/__init__.py @ 835:59acaa8b52c0

Slave attachment support via `<attach />` is totally redone to use multi-part form post instead of inlining it in the XML (ie. like a web file upload form). For larger binaries the previous inlining would effectively be an internal denial-of-service attack... Closes #615.
author osimons
date Sun, 10 Oct 2010 20:18:53 +0000
parents 7c80375d4817
children
line wrap: on
line source
# -*- coding: utf-8 -*-
#
# Copyright (C) 2007-2010 Edgewall Software
# Copyright (C) 2005-2007 Christopher Lenz <cmlenz@gmx.de>
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at http://bitten.edgewall.org/wiki/License.

__docformat__ = 'restructuredtext en'
try:
    __version__ = __import__('pkg_resources').get_distribution('Bitten').version
except:
    try:
        __version__ = __import__('pkg_resources').get_distribution(
                                                    'BittenSlave').version
    except:
        pass

# The master-slave protocol/configuration version
PROTOCOL_VERSION = 5
Copyright (C) 2012-2017 Edgewall Software