cordova-dev mailing list archives

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

    https://github.com/apache/cordova-plugin-file-transfer/pull/117#discussion_r45845885
  
    --- 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) {
    +                      // occurs for a small file
    --- End diff --
    
    nit: please correct indentation


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