Constants for preview media types

This commit is contained in:
Kohsuke Kawaguchi
2016-08-05 20:56:11 -07:00
parent cabbbf7f02
commit a9fb4546e1
6 changed files with 24 additions and 13 deletions

View File

@@ -110,6 +110,10 @@ class Requester {
return this;
}
/*package*/ Requester withPreview(String name) {
return withHeader("Accept",name);
}
/**
* Makes a request with authentication credential.
*/