This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 87b7877e Docco
87b7877e is described below
commit 87b7877eb670fd5518217511b00d8e591b5ef7d5
Author: Sebb <[email protected]>
AuthorDate: Thu Apr 25 09:14:41 2024 +0100
Docco
---
lib/whimsy/cache.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/whimsy/cache.rb b/lib/whimsy/cache.rb
index cab0f0c1..a3103c19 100644
--- a/lib/whimsy/cache.rb
+++ b/lib/whimsy/cache.rb
@@ -42,8 +42,8 @@ class Cache
#
# Returns:
# - uri (after redirects)
- # - content
- # - status: nocache, recent, updated, missing or no last mod/etag
+ # - content - or response if status is error
+ # - status: nocache, recent, updated, unchanged, error, cachemiss or no last
mod/etag
def get(url)
if not @enabled
uri, res = fetch(url)