callback/callback-android — Issue #5: Header support for PhoneGap's FileTransfer
Author: Plaputta
Created: 2011-10-28 13:44:05+00:00
State: open

Hi,
I am just starting to develop apps using PhoneGap and stumbled upon a problem.
To authenticate against the Server, I send a Basic Authentication header with every request using jQuery's $.ajax functions. Unfortunately, it is not possible to set custom headers using the FileTransfer object. Since FileTransfer itself sets headers, I was wondering if you could add a custom header support to the FileTransfer object, just like FileUploadOptions.params.
Thanks,
Toby