mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 12:26:18 +00:00
Replace all other uses of hardcoded HTTP header strings to declare/use entries in the AcceptHeaders helper class
Left test methods alone as it isn't good practice to share these definitions between Test and Implementation classes
This commit is contained in:
@@ -11,7 +11,7 @@ namespace Octokit.Internal
|
||||
/// </summary>
|
||||
public class JsonHttpPipeline
|
||||
{
|
||||
private const string v3ApiVersion = "application/vnd.github.quicksilver-preview+json; charset=utf-8, application/vnd.github.v3+json; charset=utf-8";
|
||||
private const string v3ApiVersion = AcceptHeaders.DefaultJson;
|
||||
|
||||
readonly IJsonSerializer _serializer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user