Lyfei commented on issue #258:
URL: 
https://github.com/apache/cordova-plugin-file-transfer/issues/258#issuecomment-662780423


   > By removing lines 107-110 from CDVFileTransfer.m I was able to compile:
   > 
   > ```
   >     NSString* userAgent = [self.commandDelegate userAgent];
   >     if (userAgent) {
   >         [req setValue:userAgent forHTTPHeaderField:@"User-Agent"];
   >     }
   > ```
   
   After deleting, my network request will not succeed. It seems that userAgent 
is needed


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to