Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

charset with response header 'Content-Type' #633

Closed
prasanthks opened this issue Nov 21, 2018 · 6 comments
Closed

charset with response header 'Content-Type' #633

prasanthks opened this issue Nov 21, 2018 · 6 comments

Comments

@prasanthks
Copy link

I am using HTTP API from DB2 SQL using the supplied UDF. This needs charset to be supplied in the Response Header 'Content-Type'. E.g 'Content Type:application/json:charset=utf-8'. Is there a Setting in RabbitmQ where I can get this charset as well? Thanks in advance.

What we normally get in Response Header is as follows (re-producable with a simple curl)

< content-length: 448
content-length: 448
< content-type: application/json
content-type: application/json
< date: Wed, 21 Nov 2018 10:40:44 GMT
date: Wed, 21 Nov 2018 10:40:44 GMT
< server: Cowboy
server: Cowboy
< vary: accept, accept-encoding, origin
vary: accept, accept-encoding, origin

Thanks,
Prasanth.

@lukebakken
Copy link
Contributor

Hi Prasanth,

Thanks for using RabbitMQ. We only use GitHub issues for actionable work. When you clicked "New Issue", you should have seen a document indicating as such.

Please post this question to the rabbitmq-users mailing list and provide the following information:

  • RabbitMQ and Erlang version
  • Full curl request that you are making
  • Full response attached to your message in a text file

If we determine an actual issue exists, we will re-open this GitHub issue.

@prasanthks
Copy link
Author

The Version is 3.7.5.

@lukebakken
Copy link
Contributor

@prasanthks please read my instructions in this comment and follow them if you would like assistance. Thank you.

@prasanthks
Copy link
Author

Thanks. The original problem is that the german umlauts are not being received correctly in IBM i with http API of Rabbitmanagement api. I have found out this is probably because the RMQ server is not sending the charset along with content-type. I thought this is the default behaviour of server and may be needs to be added. Anyway will send it to the mailing list as suggested. Thanks for your reply.

@lukebakken
Copy link
Contributor

Thank you. The author of Cowboy has already followed up: link

@lukebakken
Copy link
Contributor

In addition, please see this discussion: request/request#383

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants