You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/08/02 11:36:09 UTC
[GitHub] [dubbo-go-pixiu] victory460 opened a new issue, #461: Want the response header `Content-Type is application/json`
victory460 opened a new issue, #461:
URL: https://github.com/apache/dubbo-go-pixiu/issues/461
<!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!
-->
**What happened**:
Proxy http to triple, the response header Content-Type is text/plain.
```
$ curl --location --request POST 'http://localhost:8883/BDTService/org.apache.dubbogo.samples.api.Greeter/SayHello' \
--header 'Content-Type: application/json' \
--data-raw '{
"name":"java"
}' -v
* Trying 127.0.0.1:8883...
* Connected to localhost (127.0.0.1) port 8883 (#0)
> POST /BDTService/org.apache.dubbogo.samples.api.Greeter/SayHello HTTP/1.1
> Host: localhost:8883
> User-Agent: curl/7.81.0
> Accept: */*
> Content-Type: application/json
> Content-Length: 21
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Type: text/plain
< Date: Tue, 02 Aug 2022 11:30:43 GMT
< Content-Length: 43
<
* Connection #0 to host localhost left intact
{"name":"Hello java","id":"12345","age":21}
```
**What you expected to happen**:
Want the response header `Content-Type is application/json`.
**How to reproduce it (as minimally and precisely as possible)**:
```
cd samples/dubbogo/simple/
./start.sh prepare triple
# 启动 dubbo server
./start.sh startServer triple
# 启动 pixiu
./start.sh startPixiu triple
```
**Anything else we need to know?**
--
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: notifications-unsubscribe@dubbo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo-go-pixiu] victory460 closed issue #461: Want the response header `Content-Type is application/json`
Posted by GitBox <gi...@apache.org>.
victory460 closed issue #461: Want the response header `Content-Type is application/json`
URL: https://github.com/apache/dubbo-go-pixiu/issues/461
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo-go-pixiu] victory460 commented on issue #461: Want the response header `Content-Type is application/json`
Posted by GitBox <gi...@apache.org>.
victory460 commented on issue #461:
URL: https://github.com/apache/dubbo-go-pixiu/issues/461#issuecomment-1202766136
> Yes, we will fix it.
Thanks for your reply, can you help me to review it. #462
Thanks a lot.
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo-go-pixiu] mark4z commented on issue #461: Want the response header `Content-Type is application/json`
Posted by GitBox <gi...@apache.org>.
mark4z commented on issue #461:
URL: https://github.com/apache/dubbo-go-pixiu/issues/461#issuecomment-1202523533
Yes, we will fix it.
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo-go-pixiu] zgq25302111 commented on issue #461: Want the response header `Content-Type is application/json`
Posted by GitBox <gi...@apache.org>.
zgq25302111 commented on issue #461:
URL: https://github.com/apache/dubbo-go-pixiu/issues/461#issuecomment-1202685397
let me have a look
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org