Merge pull request #734 from octokit/release-candidate

0.7.2 - Can't Handle My Scale
This commit is contained in:
Brendan Forster
2015-03-01 21:38:01 +10:30
5 changed files with 9 additions and 7 deletions
+1 -2
View File
@@ -11,7 +11,6 @@ namespace Octokit.Internal
/// </summary>
public class JsonHttpPipeline
{
private const string moondragonPreviewApiVersion = "application/vnd.github.moondragon+json; charset=utf-8";
private const string v3ApiVersion = "application/vnd.github.v3+json; charset=utf-8";
readonly IJsonSerializer _serializer;
@@ -34,7 +33,7 @@ namespace Octokit.Internal
if (!request.Headers.ContainsKey("Accept"))
{
request.Headers["Accept"] = String.Join(",", moondragonPreviewApiVersion, v3ApiVersion);
request.Headers["Accept"] = v3ApiVersion;
}
if (request.Method == HttpMethod.Get || request.Body == null) return;