Reduce duplication of error and *http.Request object vars