Revert "Exporting WriteErrorResponse"

This reverts commit e05d46a0b5.
This commit is contained in:
Frederick F. Kautz IV
2015-04-26 17:02:49 -07:00
parent c29677b245
commit 202fc26719
4 changed files with 33 additions and 34 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ func validateHandler(conf config.Config, h http.Handler) http.Handler {
func (h vHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
acceptsContentType := getContentType(r)
if acceptsContentType == unknownContentType {
WriteErrorResponse(w, r, NotAcceptable, acceptsContentType, r.URL.Path)
writeErrorResponse(w, r, NotAcceptable, acceptsContentType, r.URL.Path)
return
}
// success