Merge pull request #938 from kataras/dev

misspell fixes

Former-commit-id: 3becabe965f0e92f41ae65a63e2d8f8e7bc9937b
This commit is contained in:
Gerasimos (Makis) Maropoulos 2018-03-21 09:00:23 +02:00 committed by GitHub
commit 9bd70d7c91
2 changed files with 2 additions and 2 deletions

2
cache/browser.go vendored
View File

@ -11,7 +11,7 @@ import (
// CacheControlHeaderValue is the header value of the // CacheControlHeaderValue is the header value of the
// "Cache-Control": "private, no-cache, max-age=0, must-revalidate, no-store, proxy-revalidate, s-maxage=0". // "Cache-Control": "private, no-cache, max-age=0, must-revalidate, no-store, proxy-revalidate, s-maxage=0".
// //
// It can be overriden. // It can be overridden.
var CacheControlHeaderValue = "private, no-cache, max-age=0, must-revalidate, no-store, proxy-revalidate, s-maxage=0" var CacheControlHeaderValue = "private, no-cache, max-age=0, must-revalidate, no-store, proxy-revalidate, s-maxage=0"
const ( const (

View File

@ -31,7 +31,7 @@ func TestNoCache(t *testing.T) {
func TestStaticCache(t *testing.T) { func TestStaticCache(t *testing.T) {
t.Parallel() t.Parallel()
// test change the time format, which is not reccomended but can be done. // test change the time format, which is not recommended but can be done.
app := iris.New().Configure(iris.WithTimeFormat("02 Jan 2006 15:04:05 GMT")) app := iris.New().Configure(iris.WithTimeFormat("02 Jan 2006 15:04:05 GMT"))
cacheDur := 30 * (24 * time.Hour) cacheDur := 30 * (24 * time.Hour)