Do the right thing with the HTTP response
handleAPIresponse(response, special.statuses = list(), progress.handler = NULL)
an httr response object
an optional named list of functions by status code.
an optional function to handle errors reported by
a progress result. Default NULL prints the string message
; other
functions required to handle non-string messages in progress responses.
The full HTTP response object, just the content, or any other status-specific action