Fix for max-age (#13)

* Fix for max-age with space

* Changed ? to * for multiple spaces
This commit is contained in:
Julien LEICHER 2016-10-31 19:15:47 +01:00 committed by Huin
parent 97f671ee5e
commit 949b8a7753

View File

@ -18,7 +18,7 @@ const (
)
var (
maxAgeRx = regexp.MustCompile("max-age=([0-9]+)")
maxAgeRx = regexp.MustCompile("max-age= *([0-9]+)")
)
const (