From d5974e9f437ac06967b103d7d07c0b72c91fbaa4 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Wed, 19 Apr 2023 12:39:23 +0900 Subject: [PATCH] Polish "Pluggable HTTP client" section in reference docs --- src/site/apt/index.apt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/site/apt/index.apt b/src/site/apt/index.apt index 4991e7caa4..abae7ae2b9 100644 --- a/src/site/apt/index.apt +++ b/src/site/apt/index.apt @@ -140,9 +140,9 @@ Pluggable HTTP client This library comes with a pluggable connector to use different HTTP client implementations through <<>>. In particular, this means you can use {{{https://square.github.io/okhttp/}OkHttp}}, - so we can make use of it's HTTP response cache. + so we can make use of its HTTP response cache. Making a conditional request against the GitHub API and receiving a 304 response - {{{https://docs.github.com/en/rest/overview/resources-in-the-rest-api#conditional-requests}does not count against the rate limit}}. + {{{https://docs.github.com/en/rest/overview/resources-in-the-rest-api?apiVersion=2022-11-28#conditional-requests}does not count against the rate limit}}. The following code shows an example of how to set up persistent cache on the disk: