curl-to-csharp
curl-to-csharp copied to clipboard
Support for --path-as-is
--path-as-is is not supported because the framework does automatic URL squashing, what's the solution ?
Sorry for the super late response.
Yeah, I don't know any workaround to implement this feature using HttpClient (which is used in the conversion). HttpClient heavily uses Uri class, which doesn't have an option to disable URL normalization.
The code below will produce https://google.com/search
new Uri("https://google.com/../search")