Auto set the http.