cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clelland <>
Subject [GitHub] cordova-plugin-file-transfer pull request: CB-6503 allow file uplo...
Date Sat, 28 Jun 2014 03:19:07 GMT
Github user clelland commented on a diff in the pull request:
    --- Diff: src/android/ ---
    @@ -315,8 +315,13 @@ public void run() {
                         // Use a post method.
    -                    conn.setRequestProperty("Content-Type", "multipart/form-data; boundary="
    +                    // if we specified a Content-Type header, don't do multipart form
    +                    boolean multipartFormUpload = !headers.has("Content-Type");
    --- End diff --
    I've added a null check here -- headers is not necessarily populated by this point. (same
on amazon)

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 or file a JIRA ticket
with INFRA.

View raw message