title: Handle HttpWebRequest Url size issue
body: <p>I'm using C# and Windows Phone 8.1 (as Universal app). I'm trying to get size using this code:</p>
  
  <pre><code>    async public void LoadInformation(string url)
      {
          try
          {
              HttpWebRequest request = (HttpWebRequest)WebRequest.Create(new Uri(url));
              request.Method = "HEAD";
              HttpWebResponse response = (HttpWebResponse)await request.GetResponseAsync();
              //var response = await request.GetResponseAsync();
  
              if (response == null)
                  return;
              string pageSource = new StreamReader(response.GetResponseStream()).ReadToEnd();
              string Size = CalculateBytes(response.ContentLength.ToString());
  
              var dispatcher = Windows.ApplicationModel.Core.CoreApplication.MainView.CoreWindow.Dispatcher;
              await dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =&gt;
              {
                  string title = txtTitle.Text;
                  txtTitle.Text = title + " | " + Size;
              });
          }
          catch (Exception ex) { Debug.WriteLine("LoadInformationError:\t" + ex.Message); }
      }
  </code></pre>
  
  <p>In some of URL it returns an error:</p>
  
  <pre><code>Additional information: The remote server returned an error: NotFound.
  </code></pre>
  
  <p>But that URL is correct and can download by Internet Explorer. Screen shot:</p>
  
  <p><a href="http://i.stack.imgur.com/RU51s.png" rel="nofollow">http://i.stack.imgur.com/RU51s.png</a></p>
  
  <p>I'v used this method multiple times at the same time in multiple UserControls (each 1 UserControl load size just 1 time), do you think this is the reason?</p>
  
  <p>On the debug Menu in Exceptions, I'v checked 'Common Language Runtime Exceptions' for finding another issues not for this issue. Screen shot:</p>
  
  <p><a href="http://i.stack.imgur.com/wWInX.png" rel="nofollow">http://i.stack.imgur.com/wWInX.png</a></p>