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:
commit
6283cc64a5
3 files changed
+4
-2
No files matched your search
@@ -1,3 +1,5 @@
|
||||
### v3.0.2
|
||||
* добавлен charset=utf-8 в заголовок ответа для grpc
|
||||
### v3.0.1
|
||||
* исправлено проксирование http с GET параметрами
|
||||
* исправлено логирование пути при проксировании HTTP
|
||||
|
||||
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user