[ https://issues.apache.org/jira/browse/THRIFT-2674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14522765#comment-14522765 ]
Hudson commented on THRIFT-2674: -------------------------------- SUCCESS: Integrated in Thrift #1530 (See [https://builds.apache.org/job/Thrift/1530/]) THRIFT-2674 JavaScript: declare Accept: and Content-Type: in request (henrique: rev 1e723d931e92652e4ccb1385709258759ae5bc54) * lib/js/src/thrift.js > JavaScript: declare Accept: and Content-Type: in request > -------------------------------------------------------- > > Key: THRIFT-2674 > URL: https://issues.apache.org/jira/browse/THRIFT-2674 > Project: Thrift > Issue Type: Bug > Components: JavaScript - Library > Reporter: Stig Bakken > Assignee: Henrique Mendonça > Priority: Minor > Fix For: 0.9.3 > > Attachments: js-type.diff > > > When a JS client communicates with a backend supporting several encodings, > knowing which protocol to use is a bit kludgy. This patch tries to fix that > by always setting the Accept: and Content-Type: request headers to > "application/json". -- This message was sent by Atlassian JIRA (v6.3.4#6332)