Skip to content
This repository was archived by the owner on Dec 3, 2019. It is now read-only.

Commit 24094d3

Browse files
committed
Don't cache the Host header
1 parent 653cca1 commit 24094d3

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 0.1.13 (2015-04-28)
4+
5+
* Don't cache the Host header
6+
37
## 0.1.12 (2015-04-28)
48

59
* Allow newer rubies

cache_rules.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require 'date'
66

77
Gem::Specification.new do |s|
88
s.name = 'cache_rules'
9-
s.version = '0.1.12'
9+
s.version = '0.1.13'
1010

1111
s.date = Date.today.to_s
1212

lib/cache_rules.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module CacheRules
3333
HEADERS_NO_CACHE = %w(
3434
Set-Cookie Cookie
3535
Accept-Ranges Range If-Range Content-Range
36-
Referer From
36+
Referer From Host
3737
Authorization Proxy-Authorization
3838
)
3939

0 commit comments

Comments
 (0)