Exemplo n.º 1
0
 def __init__(self, content_type='text/plain', options=None):
     StdoutRequestHandler.__init__(self)
     self.__headers = {'accept': content_type}
     self.__output_path = options.output_path if options is not None else None
Exemplo n.º 2
0
 def __init__(self, content_type='text/plain', options=None):
     StdoutRequestHandler.__init__(self)
     self.__headers = {'accept': content_type}
     self.__output_path = (options or {}).get('output_path', None)
Exemplo n.º 3
0
 def __init__(self, content_type='text/plain', options=None):
   StdoutRequestHandler.__init__(self)
   self.__headers = {'accept': content_type}
   self.__output_path = (options or {}).get('output_path', None)