Example #1
0
 def json(self, request):
     return http.no_content()
Example #2
0
 def json(self, request):
     return http.no_content()
Example #3
0
 def test_no_content(self):
     r = http.no_content()
     assert r.status.startswith('204')
     assert r.headers.get('Content-Type') is None
Example #4
0
 def test_no_content(self):
     r = http.no_content()
     assert r.status.startswith('204')
     assert r.headers.get('Content-Type') is None