Lines Matching +full:ex +full:-
38 handler.send_header('Content-Type', 'application/json')
57 'application/octet-stream')
65 handler.send_header('Content-Type',
66 self.content_type + '; charset=utf-8')
73 def __init__(self, ex):
74 self.ex = ex
79 'error': self.ex.message,
81 handler.send_response(self.ex.code)
82 handler.send_header('Content-Type', 'application/json')
351 except DBusRestException, ex:
352 response = DBusRestErrorResonse(ex)
357 length = int(self.headers.getheader('content-length'))
361 except DBusRestException, ex:
362 response = DBusRestErrorResonse(ex)