Skip to content

Commit

Permalink
Modify http status code to variable in README (#350)
Browse files Browse the repository at this point in the history
* Modify http status code to variable

* Modify doc

* Modify README
  • Loading branch information
KimMachineGun authored and kisielk committed Feb 26, 2018
1 parent d284fd8 commit 07ba1fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ func (amw *authenticationMiddleware) Middleware(next http.Handler) http.Handler
next.ServeHTTP(w, r)
} else {
// Write an error and stop the handler chain
http.Error(w, "Forbidden", 403)
http.Error(w, "Forbidden", http.StatusForbidden)
}
})
}
Expand Down

0 comments on commit 07ba1fd

Please sign in to comment.