Revision b8525481
b/snf-django-lib/snf_django/lib/api/utils.py | ||
---|---|---|
104 | 104 |
except ValueError: |
105 | 105 |
raise faults.BadRequest("Invalid JSON data") |
106 | 106 |
else: |
107 |
raise faults.BadRequest("Unsupported Content-type: '%s'", content_type) |
|
107 |
raise faults.BadRequest("Unsupported Content-type: '%s'" % content_type) |
Also available in: Unified diff