Permalink
Browse files

Fix problem with content-type on POST requests (close #172)

  • Loading branch information...
1 parent 6a9e8f3 commit e655492f70bed1b2481845889028903492156516 @tmeasday tmeasday committed with dgreensp Jun 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/http/httpcall_server.js
@@ -52,7 +52,7 @@ Meteor.http = Meteor.http || {};
if (params_for_body) {
content = Meteor.http._encodeParams(params_for_body);
- headers['Content-Type'] = "x-www-form-urlencoded";
+ headers['Content-Type'] = "application/x-www-form-urlencoded";
}
_.extend(headers, options.headers || {});

0 comments on commit e655492

Please sign in to comment.