Permalink
Browse files

Double quotes are optional, and the space after the ; could be required

  • Loading branch information...
1 parent 7fff74c commit 8c163eb9349459839fc720658979d5c97a955825 @janjongboom janjongboom committed Apr 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 main.js
View
@@ -623,9 +623,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 8c163eb

Please sign in to comment.