Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/GitHubService.java')
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/GitHubService.java11
1 files changed, 8 insertions, 3 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/GitHubService.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/GitHubService.java
index 73ac32d3..19412107 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/GitHubService.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/GitHubService.java
@@ -32,19 +32,24 @@ import org.eclipse.egit.github.core.client.RequestException;
public abstract class GitHubService {
/**
+ * Accept header for default response
+ */
+ public static final String ACCEPT_DEFAULT = "application/vnd.github.v3+json"; //$NON-NLS-1$
+
+ /**
* Accept header for full response
*/
- protected static final String ACCEPT_FULL = "application/vnd.github.beta.full+json"; //$NON-NLS-1$
+ public static final String ACCEPT_FULL = "application/vnd.github.v3.full+json"; //$NON-NLS-1$
/**
* Accept header for HTML response
*/
- protected static final String ACCEPT_HTML = "application/vnd.github.beta.html+json"; //$NON-NLS-1$
+ public static final String ACCEPT_HTML = "application/vnd.github.v3.html+json"; //$NON-NLS-1$
/**
* Accept header for text response
*/
- protected static final String ACCEPT_TEXT = "application/vnd.github.beta.text+json"; //$NON-NLS-1$
+ public static final String ACCEPT_TEXT = "application/vnd.github.v3.text+json"; //$NON-NLS-1$
/**
* Client field

Back to the top