title: "stream was not readable" ArgumentException when using ReadAsStreamAsync with StreamReader
body: <p>I have the following piece of code to read and process the response of a Http get request using StreamReader: </p>
  
  <pre><code>try
  {
      Stream stream = await ExecuteRequestAsync(uriBuilder.Uri, HttpMethod.Get).ConfigureAwait(false);
      if (stream != null)
      {
          using (StreamReader sr = new StreamReader(stream))
          {
              using (JsonTextReader reader = new JsonTextReader(sr))
              {
                  ...
              }
          }
      }
  }
  catch (Exception ReadingStreamException)
  {
  
  }
  
  private async Task&lt;stream&gt; ExecuteRequestAsync(Uri uri, HttpMethod method)
  {
      Stream stream;
      using (HttpRequestMessage httpRequestMessage = new HttpRequestMessage(method, uri))
      {
      try
      {
          stopwatch.Start();
          using (HttpResponseMessage responseMessage = await this.httpClient.SendAsync(httpRequestMessage).ConfigureAwait(false))
          {
              stream = await responseMessage.Content.ReadAsStreamAsync().ConfigureAwait(false);
          }
      }
      catch(Exception GettingStreamException)
      {
          // Error checking code
      }
  
      return stream;
  }
  </code></pre>
  
  <p>The line using <code>(StreamReader sr = new StreamReader(stream))</code>, is throwing an exception to ReadingStreamException of type ArgumentException with the detail "Stream was not readable". Is there something wrong with the above code? </p>