You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Sergey Shakhnazarov (Akvelon)" <v-...@microsoft.com> on 2015/08/12 16:02:04 UTC

CORS for http://cordova-filetransfer.jitsu.com

Hi guys,

I was testing mobilespec in hosted environment recently and encountered an issue with file-transfer plugin:
org.apache.cordova.mobilespec.tests.localXHR.tests >> XMLHttpRequest XMLHttpRequest.spec.9 calls onload from successful http get
Expected spy onError not to have been called.

This issue is caused by missing Access-Control headers on the server side.
Can we add them? Should I send a PR to https://github.com/don/cordova-filetransfer?

Best regards,
Sergey Shakhnazarov



RE: CORS for http://cordova-filetransfer.jitsu.com

Posted by "Sergey Shakhnazarov (Akvelon)" <v-...@microsoft.com>.
Thank you, Shazron,

Please take a look at the PR: https://github.com/apache/cordova-labs/pull/7/files

Best regards,
Sergey Shakhnazarov

-----Original Message-----
From: Shazron [mailto:shazron@gmail.com] 
Sent: Wednesday, August 12, 2015 7:14 PM
To: dev@cordova.apache.org
Subject: Re: CORS for http://cordova-filetransfer.jitsu.com

This might be why we're encountering
https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fissues.apache.org%2fjira%2fbrowse%2fCB-9483&data=01%7c01%7cv-seshak%40microsoft.com%7cafc7674066ab4e96199408d2a331d64f%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=3S6M9FRdCPec32iBdCYlGjvCsnT%2fHbbAzWspW3vVuRE%3d
To update you will have to PR to this repo and branch https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fapache%2fcordova-labs%2ftree%2fcordova-filetransfer&data=01%7c01%7cv-seshak%40microsoft.com%7cafc7674066ab4e96199408d2a331d64f%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=JtsdFbN0G2jSOJXnyPGjAtwjg8jtFdi3l2rGCBlzvM0%3d

Then someone with access rights to the account (I do, plus others not sure
whom) has to push the code.

On Wednesday, August 12, 2015, Sergey Shakhnazarov (Akvelon) < v-seshak@microsoft.com> wrote:

> Hi guys,
>
> I was testing mobilespec in hosted environment recently and 
> encountered an issue with file-transfer plugin:
> org.apache.cordova.mobilespec.tests.localXHR.tests >> XMLHttpRequest
> XMLHttpRequest.spec.9 calls onload from successful http get Expected 
> spy onError not to have been called.
>
> This issue is caused by missing Access-Control headers on the server side.
> Can we add them? Should I send a PR to 
> https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithu
> b.com%2fdon%2fcordova-filetransfer%3f&data=01%7c01%7cv-seshak%40micros
> oft.com%7cafc7674066ab4e96199408d2a331d64f%7c72f988bf86f141af91ab2d7cd
> 011db47%7c1&sdata=RV33zBJZCukSb%2fAqP%2bXI75zpwuCAybOaqRq57A3OM8c%3d
>
> Best regards,
> Sergey Shakhnazarov
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org

Re: CORS for http://cordova-filetransfer.jitsu.com

Posted by Shazron <sh...@gmail.com>.
This might be why we're encountering
https://issues.apache.org/jira/browse/CB-9483
To update you will have to PR to this repo and branch
https://github.com/apache/cordova-labs/tree/cordova-filetransfer

Then someone with access rights to the account (I do, plus others not sure
whom) has to push the code.

On Wednesday, August 12, 2015, Sergey Shakhnazarov (Akvelon) <
v-seshak@microsoft.com> wrote:

> Hi guys,
>
> I was testing mobilespec in hosted environment recently and encountered an
> issue with file-transfer plugin:
> org.apache.cordova.mobilespec.tests.localXHR.tests >> XMLHttpRequest
> XMLHttpRequest.spec.9 calls onload from successful http get
> Expected spy onError not to have been called.
>
> This issue is caused by missing Access-Control headers on the server side.
> Can we add them? Should I send a PR to
> https://github.com/don/cordova-filetransfer?
>
> Best regards,
> Sergey Shakhnazarov
>
>
>