From b7786da28ca22488b8315927e251cae7f4f69c04 Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Mon, 5 Jan 2015 16:01:24 -0800 Subject: [PATCH] Correct application/json header string --- handler_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler_test.go b/handler_test.go index fcaee9f43e..4d4b69b7ad 100644 --- a/handler_test.go +++ b/handler_test.go @@ -604,7 +604,7 @@ func MustHTTP(verb, url, body string) (int, string) { if err != nil { panic(err) } - req.Header.Set("Content-Type", "applicaton/json") + req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req)