mirror of
https://github.com/kennethreitz/httpbin.git
synced 2026-06-05 23:00:18 +00:00
no indents.
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ def json(f, *args, **kwargs):
|
||||
if isinstance(data, Response):
|
||||
return data
|
||||
|
||||
dump = omnijson.dumps(data, indent=3)
|
||||
dump = omnijson.dumps(data)
|
||||
|
||||
r = app.make_response(dump)
|
||||
r.headers['Content-Type'] = 'application/json'
|
||||
|
||||
Reference in New Issue
Block a user