Make Response.Body readonly

This commit is contained in:
Haacked
2015-01-01 22:45:51 -08:00
parent d8f50292e3
commit 89e8fdfeaf
9 changed files with 92 additions and 80 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ namespace Octokit.Internal
ContentType = contentType;
}
public object Body { get; set; }
public object Body { get; private set; }
public IReadOnlyDictionary<string, string> Headers { get; private set; }
public ApiInfo ApiInfo { get; private set; }
public HttpStatusCode StatusCode { get; set; }