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