Correct application/json header string

pull/1284/head
Philip O'Toole 2015-01-05 16:01:24 -08:00
parent e4c57db75f
commit b7786da28c
1 changed files with 1 additions and 1 deletions

View File

@ -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)