Let cache hash depend on x-index-revision http header from welcome call
This way RKorAPClient is informed about corpus and other index changes
and makes sure that no stale cache query results are used.
Change-Id: I508c17c4f9b0d5974de4d28f40f3d101d6d41c82
diff --git a/man/KorAPConnection-class.Rd b/man/KorAPConnection-class.Rd
index 6b3f4fd..73e0a6e 100644
--- a/man/KorAPConnection-class.Rd
+++ b/man/KorAPConnection-class.Rd
@@ -32,7 +32,7 @@
\S4method{clearAccessToken}{KorAPConnection}(kco)
-\S4method{apiCall}{KorAPConnection}(kco, url, json = TRUE, cache = kco@cache)
+\S4method{apiCall}{KorAPConnection}(kco, url, json = TRUE, getHeaders = FALSE, cache = kco@cache)
\S4method{clearCache}{KorAPConnection}(kco)
@@ -80,6 +80,8 @@
\item{json}{logical that determines if json result is expected}
+\item{getHeaders}{logical that determines if headers and content should be returned (as a list)}
+
\item{object}{KorAPConnection object}
}
\value{