You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phon...@googlegroups.com
Hello,
I am working on a cross platform application that targets Android and iOS platforms. I am using jQuery 1.9.1, Jquery Mobile 1.3.1 and Phonegap 2.8.0.
I want to send an ajax request and set the request headers "Connection" and "Keep-Alive". On Android Phones with OS greater than 4.1 (Whose default browser is Chrome) I get an error which says "Refused to set unsafe header "Connection"".
I am able to send such requests on lower end devices and even on iPhones.
Can Anyone Please help me out.
I have to set these 2 headers in the request.
Thanks in advance.
Michael Thompson
unread,
Mar 18, 2014, 4:23:12 PM3/18/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phon...@googlegroups.com
I hit the same error on Android but also with the Content-length header
In my case, all I had to do was comment out the offending header settings from the script and everything seemed to work fine.
betrob
unread,
Mar 19, 2014, 1:20:35 AM3/19/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phon...@googlegroups.com
Thank you Michael for your reply. By "the script" do you mean your code where you set the request header or were using another plugin of sorts ?