Permalink
Browse files

Merge branch 'master' of github.com:mikeal/request

  • Loading branch information...
2 parents b131c64 + d853e53 commit 05d6e02c31ec4e6fcfadbfbe5414e701710f6e55 @mikeal mikeal committed Apr 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 main.js
View
@@ -624,9 +624,9 @@ Request.prototype.multipart = function (multipart) {
self.body = []
if (!self.headers['content-type']) {
- self.headers['content-type'] = 'multipart/related;boundary="frontier"';
+ self.headers['content-type'] = 'multipart/related; boundary=frontier';
} else {
- self.headers['content-type'] = self.headers['content-type'].split(';')[0] + ';boundary="frontier"';
+ self.headers['content-type'] = self.headers['content-type'].split(';')[0] + '; boundary=frontier';
}
if (!multipart.forEach) throw new Error('Argument error, options.multipart.')

0 comments on commit 05d6e02

Please sign in to comment.