# Type of request: This is a ...
[ ] bug report
[x] feature request

# Detailed description
As a Developer,
I want to be able to simulate BadDigest and InvalidDigest errors,
So that I can test the error handling logic

## Expected behavior
https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html
BadDigest: The Content-MD5 you specified did not match what we received.
InvalidDigest: The Content-MD5 you specified is not valid.

## Actual behavior
localstack returns InvalidDigest when MD5 does not match payload.


try:
        float(s)  
        return True
    except (TypeError, ValueError):
        return False
def is_mac_os():
    return bootstrap.is_mac_os()
def is_linux():
    return bootstrap.is_linux()
def is_alpine():
    try:
        if '_is_alpine_' not in CACHE:
            CACHE['_is_alpine_'] = False
            if not os.path.exists('/etc/issue'):
                return False
            out = to_str(subprocess.check_output('cat /etc/issue', shell=True))
            CACHE['_is_alpine_'] = 'Alpine' in out
    except subprocess.CalledProcessError:
        return False
    return CACHE['_is_alpine_']
def get_arch():
    if is_mac_os():
        return 'osx'
    if is_alpine():
        return 'alpine'
    if is_linux():
        return 'linux'
    raise Exception('Unable to determine system architecture')
def short_uid():