Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 05d6e02c31ec4e6fcfadbfbe5414e701710f6e55 2 parents b131c64 + d853e53
@mikeal mikeal authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 main.js
View
4 main.js
@@ -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.
Something went wrong with that request. Please try again.