cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblotsky <...@git.apache.org>
Subject [GitHub] cordova-labs pull request: CB-10080 Rewrite file-transfer server n...
Date Fri, 18 Dec 2015 14:27:56 GMT
Github user dblotsky commented on a diff in the pull request:

    https://github.com/apache/cordova-labs/pull/12#discussion_r48029125
  
    --- Diff: server.js ---
    @@ -11,6 +12,54 @@ var LATIN1_SYMBOLS = '¥§©ÆÖÑøøø¼';
     var Iconv  = require('iconv').Iconv;
     var iconv = new Iconv('UTF-8', 'ISO-8859-1');
     
    +function parseMultipartForm(req, res, finishCb) {
    +    var fields = {}, files = {};
    +
    +    var busboy = new Busboy({ headers: req.headers });
    +    busboy.on('file', function(fieldname, file, filename, encoding, mimetype) {
    +        var currentFile = {};
    --- End diff --
    
    This guy should be `{size: 0}` to start.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message