cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From daserge <>
Subject [GitHub] cordova-plugin-file-transfer pull request: Gzip support for wp8.x ...
Date Wed, 21 Oct 2015 17:39:42 GMT
Github user daserge commented on the pull request:
    @sviluppatoribk, thanks for your contribution!
    I have filed a Jira issue for this:
    In order this to be merged could you please rebase, squash and rename commit and PR to
`"CB-9839 Add gzip support to on wp8"`?
    Also please sign the ICLA:
    gzip-case also needs an update in terms of progress event as length becomes non computable;
the code change can be the following:
    bool useGzip = encodingHeader.Contains("gzip");
    using (Stream responseStreamGz = useGzip ? new GZipStream(response.GetResponseStream(),
CompressionMode.Decompress) : response.GetResponseStream())
    if (buffer.Length > 0 && !reqState.isCancelled)
        if (useGzip)
            DispatchFileTransferProgress(0, 0, callbackId);
            DispatchFileTransferProgress(bytesRead, totalBytes, callbackId);

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.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message