Skip to content

Commit f9794f2

Browse files
committed
Use Https
1 parent f98efd6 commit f9794f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/site/apt/index.apt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ GitHub github = GitHub.connect();
1717

1818
GHRepository repo = github.createRepository(
1919
"new-repository","this is my new repository",
20-
"http://www.kohsuke.org/",true/*public*/);
20+
"https://www.kohsuke.org/",true/*public*/);
2121
repo.addCollaborators(github.getUser("abayer"),github.getUser("rtyler"));
2222
repo.delete();
2323
+-----+
@@ -139,10 +139,10 @@ GitHub github = GitHubBuilder.fromEnvironment().build();
139139
Pluggable HTTP client
140140

141141
This library comes with a pluggable connector to use different HTTP client implementations
142-
through <<<HttpConnector>>>. In particular, this means you can use {{{http://square.github.io/okhttp/}OkHttp}},
142+
through <<<HttpConnector>>>. In particular, this means you can use {{{https://square.github.io/okhttp/}OkHttp}},
143143
so we can make use of it's HTTP response cache.
144144
Making a conditional request against the GitHub API and receiving a 304 response
145-
{{{http://developer.github.com/v3/#conditional-requests}does not count against the rate limit}}.
145+
{{{https://developer.github.com/v3/#conditional-requests}does not count against the rate limit}}.
146146

147147
The following code shows an example of how to set up persistent cache on the disk:
148148

0 commit comments

Comments
 (0)