mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-09 21:09:51 +00:00
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:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user