Shikhar13 / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

CodeNameOne doesn't add the cookie in the body of request on Android device #291

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On Android device the application doesn't add the cookie in the body of 
request. I've tested in simulator and checked the network monitor all works 
fine but I don't know why it doesn't workd on real device.

What steps will reproduce the problem?
1.Connect to the host, login and accept cookies(sessionId)
2.Open pages on host that check the ssessionId, the application must include 
the cookie in the body request. It does work on J2me and Android simulator but 
not on real Android device.

I guess there is an error on Android implementation; 

What version of the product are you using? On what operating system?
NetBeans 7.1.1
CodeNameOnePlugin 1.0.16
Windows 7 Ultimate

Original issue reported on code.google.com by ADzhumaa...@gmail.com on 6 Aug 2012 at 12:52

GoogleCodeExporter commented 9 years ago
Assigning to Chen. There seems to be a difference between the Android 
implementation and the JavaSE network header implementation.

Original comment by shai.almog on 6 Aug 2012 at 1:00

GoogleCodeExporter commented 9 years ago
this was already fixed to match the simulator code.
Please verify this still happens for you.

Original comment by cf27...@gmail.com on 7 Aug 2012 at 2:24

GoogleCodeExporter commented 9 years ago
Thanks. it works now

Original comment by ADzhumaa...@gmail.com on 10 Aug 2012 at 8:30