This appears to have solved the problem for me:
if (Build.VERSION.SDK != null && Integer.parseInt(Build.VERSION.SDK) > 13)
{
urlConnection.setRequestProperty("Connection", "close"); //disables
connection reuse
}
On Friday, November 23, 2012 11:34:12 AM UTC+1, b0b wrote:
>
>
>
> On Friday, 23 November 2012 11:23:45 UTC+1, Ryan Bateman wrote:
>>
>> That's not right
>
>
> You are right. What I said was for DELETE requests. Of course POST
> requests have a body.
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en