node-js-libs/curlrequest

multipart upload and digest

hugoliv opened this issue · 1 comments

Hello,

Could you please help me to generate a curl request with your library such as:

curl --digest -u username:password "http://httpbin.org" --form imageURL=@"image.jpg" -X PUT

My tentative fails:

err: Failed to initialize.
meta.args["--silent","--show-error","--no-buffer","--url","http://httpbin.org/put","--form",{"imageURL":"https://../test.jpg"},"--digest","--username","xxXXxxxXXX","--password","xxXXXxxxXXX","--verbose","--request","put","--location","--max-redirs",3,"--header","Accept: /","--header","Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3","--header","Accept-Language: en-US,en;q=0.8","--user-agent","Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13"]

Check out #20.