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 d3d74b4 commit 220631aCopy full SHA for 220631a
hander.go
@@ -32,7 +32,7 @@ func errorHandler(t *template.Template) func(http.ResponseWriter, *http.Request)
32
w.Header().Set(RequestId, r.Header.Get(RequestId))
33
34
format := r.Header.Get(FormatHeader)
35
- if format == "" {
+ if format != "application/json" {
36
format = DefaultFormat
37
}
38
0 commit comments