Quantcast
Channel: HttpWebRequest to URL with dot at the end - Stack Overflow
Browsing all 5 articles
Browse latest View live

Answer by FizzDB for HttpWebRequest to URL with dot at the end

Re-wrote some of it to a function that dont require you to add any namespaces private Uri MyUri(string url) { Uri uri = new Uri(url); System.Reflection.MethodInfo getSyntax =...

View Article



Answer by Rajamohan Anguchamy for HttpWebRequest to URL with dot at the end

you change the dot into String to Hex string.format("{0:x2}",yoururl);i think it's useful for u, because i used it in twitter API Oauth formatting

View Article

Answer by Jon Davis for HttpWebRequest to URL with dot at the end

Workaround in workaround tab at the official bug report:https://connect.microsoft.com/VisualStudio/feedback/details/386695/system-uri-incorrectly-strips-trailing-dots?wa=wsignin1.0#tabs.. seems to be...

View Article

Answer by Jason Kresowaty for HttpWebRequest to URL with dot at the end

This is a known problem that has come up on the Microsoft forums a few times.The Uri class incorrectly thinks that all URIs act like Windows disk files where a trailing dot (for no file extension) is...

View Article

HttpWebRequest to URL with dot at the end

when i do a GET with WebRequest.Create("http://abc/test.") i get 404 because according to fiddler the trailing dot gets stripped away by .NET and the web server needs the dot. how can i prevent that or...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images