cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From daserge <...@git.apache.org>
Subject [GitHub] cordova-plugin-file-transfer pull request: CB-9563 Mulptipart form...
Date Wed, 25 Nov 2015 09:48:02 GMT
Github user daserge commented on a diff in the pull request:

    https://github.com/apache/cordova-plugin-file-transfer/pull/117#discussion_r45846690
  
    --- Diff: src/android/FileTransfer.java ---
    @@ -528,14 +528,18 @@ public void run() {
                             }
                             safeClose(inStream);
                         }
    -                    
    +
                         Log.d(LOG_TAG, "got response from server");
                         Log.d(LOG_TAG, responseString.substring(0, Math.min(256, responseString.length())));
    -                    
    +
                         // send request and retrieve response
                         result.setResponseCode(responseCode);
                         result.setResponse(responseString);
     
    +                    if(result.getBytesSent() != totalBytes) {
    --- End diff --
    
    This code is related to [the added test](https://github.com/apache/cordova-plugin-file-transfer/pull/117/files#diff-2a8a5fef3397df87ab538f028a5c6b50R951).


---
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