Skip to content

Commit

Permalink
ref current constants, perhaps they changes at some point
Browse files Browse the repository at this point in the history
  • Loading branch information
kmulvey committed Apr 21, 2016
1 parent 72738a4 commit 717641d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion goji/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
// Test 1: Dynamic Route
func dynamicRoute(c web.C, w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
w.Header().Set(echo.ContentType, echo.TextPlainCharsetUTF8)
w.Header().Set(echo.HeaderContentType, echo.MIMETextPlainCharsetUTF8)
io.WriteString(w, fmt.Sprintf("team: %s, user: %s", c.URLParams["id"], c.URLParams["user"]))
}

Expand Down

0 comments on commit 717641d

Please sign in to comment.