def server_handled_successfully(status_int):
 return (is_success(status_int) or is_redirection(status_int) or (status_int == HTTP_NOT_FOUND) or (status_int == HTTP_PRECONDITION_FAILED) or (status_int == HTTP_REQUESTED_RANGE_NOT_SATISFIABLE))

def server_handled_successfully ( status_int ) : return ( is_success ( status_int ) or is_redirection ( status_int ) or ( status_int == HTTP_NOT_FOUND ) or ( status_int == HTTP_PRECONDITION_FAILED ) or ( status_int == HTTP_REQUESTED_RANGE_NOT_SATISFIABLE ) )
true for successful responses *or* error codes that are not swifts fault .