Skip to content
This repository has been archived by the owner on Apr 10, 2018. It is now read-only.

Absolute URI for a RestRequest only keeps the path and query #42

Closed
fubar-coder opened this issue Sep 25, 2015 · 0 comments
Closed

Absolute URI for a RestRequest only keeps the path and query #42

fubar-coder opened this issue Sep 25, 2015 · 0 comments

Comments

@fubar-coder
Copy link
Contributor

The following test case fails:

using (var client = new RestSharp.Portable.WebRequest.RestClient("https://www.itsg-trust.de/ostc/")
{
    HttpClientFactory = CreateClientFactory(typeof(WebRequestHttpClientFactory), false),
})
{
    var request = new RestRequest(new Uri("http://www.itsg.de/tc_keys_arbeitgeberverfahren.ITSG"));
    var targetUri = client.BuildUri(request);
    Assert.Equal(new Uri("http://www.itsg.de/tc_keys_arbeitgeberverfahren.ITSG"), targetUri);
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant