You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Erlin Vázquez Castellanos <er...@gmail.com> on 2016/10/09 15:32:56 UTC
How to send HTTP REFERER HEADER
How I can to add a custom request header ( http referer ) to all my request from Cordova Android and IOS WEBVIEW. YouTube embed gives “restricted from playback on certain sites” The problem is due to lack of HTTP header "Referer" field. sorry for my English.
Regards.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org
Re: How to send HTTP REFERER HEADER
Posted by Tobias Bocanegra <tr...@apache.org>.
Hi,
we face the same issue and think of using something along the lines of this:
http://stackoverflow.com/questions/7913305/specifying-http-referer-in-embedded-uiwebview
haven't tried it yet.
regards, toby
On Mon, Oct 10, 2016 at 12:32 AM, Erlin Vázquez Castellanos <
erlin.multisystem@gmail.com> wrote:
> How I can to add a custom request header ( http referer ) to all my
> request from Cordova Android and IOS WEBVIEW. YouTube embed gives
> “restricted from playback on certain sites” The problem is due to lack of
> HTTP header "Referer" field. sorry for my English.
>
> Regards.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> For additional commands, e-mail: dev-help@cordova.apache.org
>
>