Move config to v7 to fix previous v6 bug on null Notification entries. (#2650)

Thanks to @koolhead17 for reporting this.
This commit is contained in:
Harshavardhana
2016-09-10 00:51:25 -07:00
committed by GitHub
parent 11785529fc
commit e3de237eb8
6 changed files with 233 additions and 48 deletions

View File

@@ -25,14 +25,14 @@ import (
// Tests http.Header clone.
func TestCloneHeader(t *testing.T) {
headers := []http.Header{
http.Header{
{
"Content-Type": {"text/html; charset=UTF-8"},
"Content-Length": {"0"},
},
http.Header{
{
"Content-Length": {"0", "1", "2"},
},
http.Header{
{
"Expires": {"-1"},
"Content-Length": {"0"},
"Content-Encoding": {"gzip"},