Hi.

I've found a problem in the last 2.1 to 2.2 update.

I used URL class to access a web page contents, and it simply got
nothing
after 2.2 update. URL works fine for 2.1. It doesn't for 2.2. Just
like that.

Investigating a little, I found the url I was requesting demanded the
HTTP
"Accept" Header.
And, surprisingly, the standard behavior of URL.getConnection
has changed from 2.1 to 2.2 and removes that same header from the
request.

I wonder if that has changed on purpose. But it's been a headache for
me.


Greetings


Guillermo Fajula

-- 
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

Reply via email to