Extract header.

This commit is contained in:
Miao Jiang 2013-05-25 16:00:35 +08:00
parent b77ee78afd
commit 8de753eec9
11 changed files with 108 additions and 35 deletions

View file

@ -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);