Ah... I see. How did I miss that...
Thnx for the pointer.
- Gaurav
On Sunday, 10 August 2014 04:03:10 UTC-7, mbanzon wrote:
>
> It have been ages since I've messed with HTTP on Android - but as far as I
> recall the DefaultHttpClient has a CookieStore - as far as I remember
> cookies can be se
It have been ages since I've messed with HTTP on Android - but as far as I
recall the DefaultHttpClient has a CookieStore - as far as I remember
cookies can be set through that.
On Sun, Aug 10, 2014 at 7:19 AM, Gaurav Vaish
wrote:
> There is no other way to add cookie, isn't it?
>
> Or do you m
But that makes final APK fat...
I guess if there's no other option, I'll better write a thin hack in the
app.
- Gaurav
www.m10v.com
On Saturday, August 9, 2014, Massimo Messore
wrote:
> I had a different issue with the HttpClient lib included into the Android
> sdk.
>
> I solved using an exter
I had a different issue with the HttpClient lib included into the Android
sdk.
I solved using an external and newer HttpClient library in my project.
Maybe it worth a try: http://code.google.com/p/httpclientandroidlib/
Regards
Massimo
Il 10/ago/2014 07:23 "Gaurav Vaish" ha scritto:
> There is
There is no other way to add cookie, isn't it?
Or do you mean it is my responsibility to format / combine all cookies?
What's the purpose of CookieSpecPNames.SINGLE_COOKIE_HEADER parameter then?
How do I use that?
- Gaurav
On Saturday, 9 August 2014 12:38:00 UTC-7, mbanzon wrote:
>
> You don't
You don't set a cookie - you set a header. Twice.
It's the expected result...
On Sat, Aug 9, 2014 at 9:08 PM, Gaurav Vaish wrote:
> Hi,
>
> I noticed that DefaultHttpClient as well as AndroidHttpClient do not work
> nicely if multiple "Cookie" or "Cookie2" headers are set in a request.
>
> I t
Hi,
I noticed that DefaultHttpClient as well as AndroidHttpClient do not work
nicely if multiple "Cookie" or "Cookie2" headers are set in a request.
I tried with a simple test code:
String url = "http://www.myserver.com";;
DefaultHttpClient dhc = new DefaultHttpClient();
7 matches
Mail list logo