コード例 #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
コード例 #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)
コード例 #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)