JsonHttpPipeline only deserializes JSON responses

The JsonHttpPipeline should only try to deserialize responses that have
a Content-Type of application/json.
This commit is contained in:
Haacked
2013-10-06 21:05:18 -07:00
parent 9a33c68dbc
commit fa1473264c
6 changed files with 60 additions and 4 deletions
+1
View File
@@ -23,5 +23,6 @@ namespace Octokit.Http
public Uri ResponseUri { get; set; }
public ApiInfo ApiInfo { get; set; }
public HttpStatusCode StatusCode { get; set; }
public string ContentType { get; set; }
}
}