Add Cache-Control response header.

This commit is contained in:
Brent Simmons
2024-11-24 21:06:09 -08:00
parent 4306542975
commit 4d72ef05da

View File

@@ -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"
}