Anyone have an idea offhand regarding why a link with an “@” in it works on my browser, but when I go to get this particular link in my HttpWebRequest code I get a 405 error?
The remote server returned an error:
(405) Method Not Allowed.
The example link in question:
http://internal_link/@api/deki/site/logo.png
thanks
The @ sign is a reserved character in a URL.
(See http://www.ietf.org/rfc/rfc2396.txt)
So I’d suggest to escape (something the browser does automatically), using
%40instead of@.