Revision cfc4b87c snf-django-lib/snf_django/lib/api/utils.py

b/snf-django-lib/snf_django/lib/api/utils.py
94 94
    Only JSON format is supported
95 95

  
96 96
    """
97
    data = request.raw_post_data
97
    data = request.body
98 98
    content_type = request.META.get("CONTENT_TYPE")
99 99
    if content_type is None:
100 100
        raise faults.BadRequest("Missing Content-Type header field")

Also available in: Unified diff