diff --git a/NucuCar.Common/HttpClient.cs b/NucuCar.Common/HttpClient.cs index 03c5fe1..b123951 100644 --- a/NucuCar.Common/HttpClient.cs +++ b/NucuCar.Common/HttpClient.cs @@ -186,14 +186,10 @@ namespace NucuCar.Common /// private sNetHttp.HttpRequestMessage _makeRequest(sNetHttp.HttpMethod method, string path) { - var requestUri = path.ToLowerInvariant().StartsWith("http://") - ? new Uri(path) - : new Uri(_httpClient.BaseAddress, path); - var requestMessage = new sNetHttp.HttpRequestMessage { Method = method, - RequestUri = requestUri + RequestUri = new Uri(_httpClient.BaseAddress, path) }; requestMessage.Headers.Authorization = _httpClient.DefaultRequestHeaders.Authorization;