Merge branch 'MSP-1014' into 'master'

Resolve MSP-1014

Closes MSP-1014

See merge request integration-system/isp-gate-service!10
This commit is contained in:
Грязнов Денис Владимирович committed 2022-09-06 15:24:00 +00:00
commit 6283cc64a5
3 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -1 +1 @@
3.0.1
3.0.2
+2
View File
@@ -1,3 +1,5 @@
### v3.0.2
* добавлен charset=utf-8 в заголовок ответа для grpc
### v3.0.1
* исправлено проксирование http с GET параметрами
* исправлено логирование пути при проксировании HTTP
+1 -1
View File
@@ -143,7 +143,7 @@ func (p Grpc) writeProto(statusCode int, proto interface{}, w http.ResponseWrite
}
func (p Grpc) writeResponse(statusCode int, data []byte, w http.ResponseWriter) error {
w.Header().Set("Content-Type", "application/json")
w.Header().Set("Content-Type", "application/json; charset=utf-8")
w.WriteHeader(statusCode)
_, err := w.Write(data)
if err != nil {