AlexStocks commented on code in PR #100:
URL:
https://github.com/apache/dubbo-go-pixiu-samples/pull/100#discussion_r2377433572
##########
dubbohttpproxy/server/http/server.go:
##########
@@ -50,14 +50,14 @@ func user(w http.ResponseWriter, r *http.Request) {
}
_, ok := cache.Get(name)
if ok {
- w.Header().Set(constant.HeaderKeyContextType,
constant.HeaderValueJsonUtf8)
+ w.Header().Set("Content-Type",
constant.HeaderValueJsonUtf8)
Review Comment:
这个改动不 make sence。为啥要用写死的 字符串
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]