Added upload_file_http method