Skip to content

Commit

Permalink
Merge pull request #1644 from izeye/polish-20230419
Browse files Browse the repository at this point in the history
Polish "Pluggable HTTP client" section in reference docs
  • Loading branch information
bitwiseman authored Apr 22, 2023
2 parents b4ac83a + d5974e9 commit 5380f59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/site/apt/index.apt
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ Pluggable HTTP client

This library comes with a pluggable connector to use different HTTP client implementations
through <<<HttpConnector>>>. 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:

Expand Down

0 comments on commit 5380f59

Please sign in to comment.