• D
    Fix #2922: file uploads fail to render curl command · c5a23e58
    Derek Wickern 提交于
    The request body is an immutable.js OrderedMap rather than a string,
    so this fixes the type error:
    
      TypeError: request.get(...).split is not a function
    
    Adds a special curl command argument for files, e.g.
    
      curl -F "param=value" -F "file=@filename.txt;type=text/plain"
    c5a23e58
curlify.js 1014 字节