Wednesday, March 23, 2011

[android-developers] how to use Cache-Control with http get request?

hi,

i am using httpconnection to retrieve data from server.now suppose if
i want to use Cache-Control how can i use it.

like in my request i have added httpCon.setRequestProperty("Cache-
Control","maxage=900");
i want to use server cache for 15mins.

regards,
hitendra gohil

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment