G
Guest
I have a URL that I can open in the browser, but System.Uri removes a slash
when it encounters an extra http: in the URL.
Here is the URL:
http://citeseer.ist.psu.edu/rd/5581...zSzdoczSzhybrid_automata.pdf/alur92hybrid.pdf
System.Uri changes the above URL to (notice that http:// after Download is
changed to http:/)
http://citeseer.ist.psu.edu/rd/5581...zSzdoczSzhybrid_automata.pdf/alur92hybrid.pdf
As a result, I get NameResolution exception when making
HttpWebRequest.GetResponse() calls.
when it encounters an extra http: in the URL.
Here is the URL:
http://citeseer.ist.psu.edu/rd/5581...zSzdoczSzhybrid_automata.pdf/alur92hybrid.pdf
System.Uri changes the above URL to (notice that http:// after Download is
changed to http:/)
http://citeseer.ist.psu.edu/rd/5581...zSzdoczSzhybrid_automata.pdf/alur92hybrid.pdf
As a result, I get NameResolution exception when making
HttpWebRequest.GetResponse() calls.