forked from indymedia/epicyon
Opposite logic
parent
3d3486c266
commit
1a5460c1da
|
@ -146,7 +146,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
"""Should a http response be given?
|
"""Should a http response be given?
|
||||||
"""
|
"""
|
||||||
if self.headers['Accept'].startswith('*'):
|
if self.headers['Accept'].startswith('*'):
|
||||||
return True
|
return False
|
||||||
if 'json' in self.headers['Accept']:
|
if 'json' in self.headers['Accept']:
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue