added flushing more options of output from http.