Skip to content

Commit

Permalink
Make lint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
mnot committed Dec 11, 2023
1 parent 1f2924d commit 723ed63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions httplint/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ class FRESHNESS_NONE(Note):
class FRESH_SERVABLE(Note):
category = categories.CACHING
level = levels.INFO
_summary = "%(message)s can be served by a cache under exceptional circumstances once it becomes stale."
_summary = "%(message)s can be served when stale by a cache under exceptional circumstances."
_text = """\
HTTP allows stale responses to be served under some circumstances; for example, if the origin
server can't be contacted, a stale response can be used (even if it doesn't have explicit freshness
Expand All @@ -447,7 +447,7 @@ class FRESH_SERVABLE(Note):
class STALE_SERVABLE(Note):
category = categories.CACHING
level = levels.INFO
_summary = "%(message)s can be served by a cache under exceptional circumstances, even though it is stale."
_summary = "%(message)s is stale and can be served by a cache under exceptional circumstances."
_text = """\
HTTP allows stale responses to be served under some circumstances; for example, if the origin
server can't be contacted, a stale response can be used (even if it doesn't have explicit freshness
Expand Down

0 comments on commit 723ed63

Please sign in to comment.