ReasonPhrase:'禁止'HttpResponseMessage winrt

时间:2013-05-22 13:58:48

标签: windows-8 windows-runtime asynchttpclient

我收到此错误:ReasonPhrase:响应变量中的'Forbidden':

HttpClient httpClient = new HttpClient();
HttpResponseMessage response = await httpClient.GetAsync(uri);
string result = await response.Content.ReadAsStringAsync();

除了我用它与其他网址,它工作正常!有什么想法吗?

0 个答案:

没有答案