Archived
HTTP testing corrections
This commit is contained in:
1 parent
f288e00c37
commit
9db75e91ac
2 files changed
+69
-36
No files matched your search
@@ -502,6 +502,7 @@ func restGetLang(w http.ResponseWriter, r *http.Request) {
|
||||
langs = append(langs, l[:2])
|
||||
}
|
||||
}
|
||||
w.Header().Set("Content-Type", "application/json; charset=utf-8")
|
||||
json.NewEncoder(w).Encode(langs)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user