network.request custom headers support?

Hi,

Are custom headers supported using network.request parameters? All of my tests so far show no custom headers coming through.

I am able to see other standard headers, but not the ones I am setting in the params.headers key.

EDIT: Running macOS High Sierra, Corona Build:  2018.3240 (2018.3.21)

-dev

@dev thanks for the bug report, it is fixed in coming daily build

Hi,

Are custom headers supported using network.request parameters? All of my tests so far show no custom headers coming through.

I am able to see other standard headers, but not the ones I am setting in the params.headers key.

EDIT: Running macOS High Sierra, Corona Build:  2018.3240 (2018.3.21)

-dev

Hi Chris, we are talking here about HTML5 right? Does this mean that your S3 and Coronium plugins will work in HTML5? We use both in our Apps.

Hi,

@vitaly1 - Thank you! Gonna test it out today.

@enneaplay I’ll be looking at porting over some stuff. It depends on whether the plugins are going to able to be packaged up like the standard ones are on Marketplace, which I assume they will be eventually (or possibly already are, need to ask).

-dev

I noticed that an app I use with a parse server (hosted elsewhere) seems to work as a HTML5 build without modification, basically meaning network request will do cross domain calling, I am using Chris’s mod_parse module so whatever Chris does in the module works cross domain.

Hi,

@cublah Are you running the HTML5 app locally or are you running it from uploaded files (via domain)?

I believe the cross-domain issue is only related to running locally.

-dev

I ran it loacally and from a domain it works either way

@dev thanks for the bug report, it is fixed in coming daily build

Hi,

Are custom headers supported using network.request parameters? All of my tests so far show no custom headers coming through.

I am able to see other standard headers, but not the ones I am setting in the params.headers key.

EDIT: Running macOS High Sierra, Corona Build:  2018.3240 (2018.3.21)

-dev

Hi Chris, we are talking here about HTML5 right? Does this mean that your S3 and Coronium plugins will work in HTML5? We use both in our Apps.

Hi,

@vitaly1 - Thank you! Gonna test it out today.

@enneaplay I’ll be looking at porting over some stuff. It depends on whether the plugins are going to able to be packaged up like the standard ones are on Marketplace, which I assume they will be eventually (or possibly already are, need to ask).

-dev

I noticed that an app I use with a parse server (hosted elsewhere) seems to work as a HTML5 build without modification, basically meaning network request will do cross domain calling, I am using Chris’s mod_parse module so whatever Chris does in the module works cross domain.

Hi,

@cublah Are you running the HTML5 app locally or are you running it from uploaded files (via domain)?

I believe the cross-domain issue is only related to running locally.

-dev

I ran it loacally and from a domain it works either way