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
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)
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)