Hi matthias
I'm using an token string as Authorization header to make a HTTP GET
request.
It works fine, but recently it meets the same problem (sometimes).
Could you share us when the OAuth verifier code would be required?
And How do you prepare this verifier code?
Thanks a lot
Sam
2009/8/31
I am using HttpURLConnection to send a GET request to a server. Upon
reading the response code, the Android implementation of
HttpURLConnection.doRequestInternal() throws an exception:
java.io.IOException: Received authentication challenge is null
I don't even get what the error is trying
Hi Mark,
you were right: it was a 401 causing this. The odd thing being, I got
this exception *before* I was actually able to check for a 401 (it was
thrown in getResponseCode()). But now knowing this error represents a
401, I was able to fix it in my code (I was not sending the OAuth
verifier
3 matches
Mail list logo