I'm working on the error-handling for my new Android app right now and can't seem to figure out where to extract the "Retry-After" header if a 429 error is returned. The javadocs seem to have nothing on this. I'm using the Dropbox Android SDK 1.6.3.
I am using e.error in my catch(DropboxServerException e) block to get the error code. Will the retry-after header be in e.body.error? I would test this myself but I'd like to avoid actually hitting the API call limit just to find the retry-after number.
Thoughts?