mirror of
https://github.com/cjdenio/uta-trax-api.git
synced 2026-10-03 16:06:19 +00:00
no transfer-encoding: chunked
This commit is contained in:
1 file changed
+1
@@ -251,6 +251,7 @@ func main() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
w.Header().Add("Content-Type", "application/protobuf")
|
w.Header().Add("Content-Type", "application/protobuf")
|
||||||
|
w.Header().Add("Content-Length", strconv.Itoa(len(b)))
|
||||||
w.Write(b)
|
w.Write(b)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user