0

我有以下代码将链接加载到 HttpWebRequest 中:

string actualLinkString = nextLink.First();
Uri actualLinkUri = new System.Uri(actualLinkString);
HttpWebRequest l_oRequest = (HttpWebRequest)WebRequest.Create(actualLinkUri);

有问题的网址是

http://moodle.tau.ac.il/pluginfile.php/409194/mod_resource/content/2/0571.4118.01-E01-26-2-13_OptLink%20%20Project%20at%20We%20Say%20So%20Engineering%20Incpdf.

这是一个有效的 URL,包括末尾的点

加载 URI 后,这是 l_oRequest.AbsoluteURI 字段:

http://moodle.tau.ac.il/pluginfile.php/409194/mod_resource/content/2/0571.4118.01-E01-26-2-13_OptLink%20%20Project%20at%20We%20Say%20So%20Engineering%20Incpdf

请注意,末尾的点已被省略,这意味着此 URI 返回 404...

是什么原因造成的?

4

0 回答 0