1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-24 08:02:32 +02:00

use the request header

This commit is contained in:
Asim Aslam 2018-11-22 10:39:36 +00:00
parent 5fd7da9de7
commit f1984650f4

View File

@ -238,7 +238,7 @@ func (h *httpTransportSocket) Recv(m *Message) error {
m.Body = b
// set headers
for k, v := range h.r.Header {
for k, v := range r.Header {
if len(v) > 0 {
m.Header[k] = v[0]
} else {