Skip to content

Commit

Permalink
Merge pull request dialogflow#4 from hose314/master
Browse files Browse the repository at this point in the history
Fixed request content-ype for using UTF-8 encoding.
  • Loading branch information
sstepashka committed Feb 29, 2016
2 parents 5e509f5 + d096d3f commit d1b2c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/text_request.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function TextRequest (application, query, options) {
TextRequest.prototype._headers = function() {
var headers = TextRequest.super_.prototype._headers.apply(this, arguments);

headers['Content-Type'] = 'application/json';
headers['Content-Type'] = 'application/json; charset=utf-8';

return headers;
};
Expand Down

0 comments on commit d1b2c5b

Please sign in to comment.