Change IResponse.Body to object

This removes the awkward Body and BodyAsObject property combo we used to
have.
This commit is contained in:
Haacked
2015-01-01 21:01:10 -08:00
parent be9f446df4
commit 53a6516de2
13 changed files with 35 additions and 34 deletions
@@ -26,7 +26,7 @@ public class HttpClientAdapterTests
var response = await httpClient.Send(request, CancellationToken.None);
// Spot check some of dem bytes.
var imageBytes = (byte[])response.BodyAsObject;
var imageBytes = (byte[])response.Body;
Assert.Equal(137, imageBytes[0]);
Assert.Equal(80, imageBytes[1]);
Assert.Equal(78, imageBytes[2]);