Get content result from HttpRequestMessage?
<p>I have the following code:</p>

<pre><code>var client = new HttpClient()
{
    BaseAddress = new Uri(@"https://myhost:myport/"),
};
client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json")); 

var uri = @"myurl";

var s = JsonConvert.SerializeObject(myobject);
string responseResult = string.Empty;

HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Put, uri);
request.Content = new StringContent(s, Encoding.UTF8, "application/json");

client.SendAsync(request)
      .ContinueWith(responseTask =&gt;
      {
           responseResult = responseTask.Result.Content.ReadAsStringAsync().Result;
      });

txtLog.Text = responseResult;
</code></pre>

<p>The above request should return a string result, however, the result is empty. Would am I missing?</p>