Browse Source

Modify http status code to variable in README (#350)

* Modify http status code to variable

* Modify doc

* Modify README
pull/345/merge
Geon Kim 8 years ago committed by Kamil Kisiel
parent
commit
07ba1fd60e
  1. 2
      README.md

2
README.md

@ -473,7 +473,7 @@ func (amw *authenticationMiddleware) Middleware(next http.Handler) http.Handler
next.ServeHTTP(w, r) next.ServeHTTP(w, r)
} else { } else {
// Write an error and stop the handler chain // Write an error and stop the handler chain
http.Error(w, "Forbidden", 403) http.Error(w, "Forbidden", http.StatusForbidden)
} }
}) })
} }

Loading…
Cancel
Save