Fix http.request options to use search field in url.format