Extract header.
This commit is contained in:
parent
b77ee78afd
commit
8de753eec9
11 changed files with 108 additions and 35 deletions
|
@ -1,4 +1,4 @@
|
|||
// Generated by ToffeeScript 1.6.2
|
||||
// Generated by ToffeeScript 1.6.2-5
|
||||
(function() {
|
||||
var curl, p;
|
||||
|
||||
|
@ -10,12 +10,19 @@
|
|||
|
||||
curl('127.0.0.1/upload.php', {
|
||||
multipart: [
|
||||
{name: 'file', file: '/home/miao/test.js', type: 'text/html'},
|
||||
{name: 'sumbit', value: 'send'}
|
||||
{
|
||||
name: 'file',
|
||||
file: '/home/miao/test.js',
|
||||
type: 'text/html'
|
||||
}, {
|
||||
name: 'sumbit',
|
||||
contents: 'send'
|
||||
}
|
||||
]
|
||||
}, function(e) {
|
||||
console.log(e);
|
||||
console.log(curl.body);
|
||||
console.log(this.body);
|
||||
return this.close();
|
||||
});
|
||||
|
||||
}).call(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue