Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
2b2560e
)
THRIFT-1763 jquery ajax code should send application/json content-type
author
Roger Meier
<roger@apache.org>
Tue, 11 Dec 2012 20:21:00 +0000
(21:21 +0100)
committer
Roger Meier
<roger@apache.org>
Tue, 11 Dec 2012 20:21:00 +0000
(21:21 +0100)
Patch: Kevin Radloff
rogerr: my first git commit on Apache Thrift!
;-r
lib/js/thrift.js
patch
|
blob
|
history
diff --git
a/lib/js/thrift.js
b/lib/js/thrift.js
index
0bd512b
..
cf89236
100644
(file)
--- a/
lib/js/thrift.js
+++ b/
lib/js/thrift.js
@@
-230,6
+230,7
@@
Thrift.Transport.prototype = {
data: postData,
type: 'POST',
cache: false,
+ contentType: 'application/json',
dataType: 'text thrift',
converters: {
'text thrift' : function(responseData) {