def format_post(request):
    if request.method == 'POST' and request.META['CONTENT_TYPE'] not in ['application/x-www-form-urlencoded', 'multipart/form-data']:
        value = request.raw_post_data[:POST_TRUNCATE_SIZE]
        if len(request.raw_post_data) > len(value):
            value += '... (post data truncated at %s bytes)' % POST_TRUNCATE_SIZE
        return value
    else:
        return str(request.POST)
Whether the Property can be represented as a single value.
dataset/ETHPy150Open isagalaev/django_errorlog/django_errorlog/models.py/format_post--crossover with--dataset/ETHPy150Open CybOXProject/python-cybox/cybox/common/properties.py/BaseProperty.is_plain