Fix #15, Support multipart post.
This commit is contained in:
parent
e318a72006
commit
9c1cbb81c9
10 changed files with 239 additions and 30 deletions
|
@ -1,6 +1,6 @@
|
|||
// Generated by ToffeeScript 1.4.0
|
||||
// Generated by ToffeeScript 1.6.2
|
||||
(function() {
|
||||
var curl, p,
|
||||
var curl, err, p, res,
|
||||
_this = this;
|
||||
|
||||
curl = require('../index');
|
||||
|
@ -10,10 +10,8 @@
|
|||
curl(process.argv[2], {
|
||||
VERBOSE: 1,
|
||||
DEBUG: 1
|
||||
}, function(_$$_err, _$$_res) {
|
||||
var err, res;
|
||||
err = _$$_err;
|
||||
res = _$$_res;
|
||||
}, function() {
|
||||
err = arguments[0], res = arguments[1];
|
||||
if (err) {
|
||||
return p(err);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue