We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 239e05f commit 910dd3aCopy full SHA for 910dd3a
README.md
@@ -67,7 +67,6 @@ The names are used to create a map of route variables which can be retrieved cal
67
```go
68
func ArticlesCategoryHandler(w http.ResponseWriter, r *http.Request) {
69
vars := mux.Vars(r)
70
- w.Header().Set("Content-Type", "application/json; charset=UTF-8")
71
w.WriteHeader(http.StatusOK)
72
fmt.Fprintf(w, "Category: %v\n", vars["category"])
73
}
0 commit comments