From 859705555770a43f02501362d0ca0e71ac7ae3bd Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 18 Jun 2011 14:37:26 -0400 Subject: [PATCH] fix omnijson usage --- httpbin/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpbin/filters.py b/httpbin/filters.py index fc0a420..021d32d 100644 --- a/httpbin/filters.py +++ b/httpbin/filters.py @@ -43,7 +43,7 @@ def json(f, *args, **kwargs): if isinstance(data, Response): return data - dump = omnijson.dumps(data, sort_keys=True, indent=3) + dump = omnijson.dumps(data) r = app.make_response(dump) r.headers['Content-Type'] = 'application/json'