From 4d72ef05daf47148eff221431f2d2ea8a176c3b9 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sun, 24 Nov 2024 21:06:09 -0800 Subject: [PATCH] Add Cache-Control response header. --- RSWeb/Sources/RSWeb/HTTPResponseHeader.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RSWeb/Sources/RSWeb/HTTPResponseHeader.swift b/RSWeb/Sources/RSWeb/HTTPResponseHeader.swift index 15e8c53e1..56c34589d 100755 --- a/RSWeb/Sources/RSWeb/HTTPResponseHeader.swift +++ b/RSWeb/Sources/RSWeb/HTTPResponseHeader.swift @@ -22,4 +22,6 @@ public struct HTTPResponseHeader { // Changed to the canonical case for lookups against a case sensitive dictionary // https://developer.apple.com/documentation/foundation/httpurlresponse/1417930-allheaderfields public static let etag = "Etag" + + public static let cacheControl = "Cache-Control" }