Skip to content

Commit

Permalink
add xml header
Browse files Browse the repository at this point in the history
  • Loading branch information
nicpottier committed Sep 15, 2017
1 parent b877320 commit 99a3946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/twilio/twilio.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ func (h *handler) writeReceiveSuccess(w http.ResponseWriter, r *http.Request, ms
courier.LogMsgReceived(r, msg)
w.Header().Set("Content-Type", "text/xml")
w.WriteHeader(200)
_, err := fmt.Fprint(w, "<Response/>")
_, err := fmt.Fprint(w, `<?xml version="1.0" encoding="UTF-8"?><Response/>`)
return err
}

Expand Down

0 comments on commit 99a3946

Please sign in to comment.