Searched refs:resp (Results 1 – 2 of 2) sorted by relevance
106 final HttpResponse resp; in authenticate() local122 resp = getHttpClient().execute(post); in authenticate()124 if (resp.getStatusLine().getStatusCode() == HttpStatus.SC_OK) { in authenticate()125 InputStream istream = (resp.getEntity() != null) ? resp.getEntity().getContent() in authenticate()136 Log.e(TAG, "Error authenticating" + resp.getStatusLine()); in authenticate()192 final HttpResponse resp = getHttpClient().execute(post); in syncContacts() local193 final String response = EntityUtils.toString(resp.getEntity()); in syncContacts()194 if (resp.getStatusLine().getStatusCode() == HttpStatus.SC_OK) { in syncContacts()208 if (resp.getStatusLine().getStatusCode() == HttpStatus.SC_UNAUTHORIZED) { in syncContacts()212 Log.e(TAG, "Server error in sending dirty contacts: " + resp.getStatusLine()); in syncContacts()
821 resp = input('Directory {} already exists. IT WILL BE REMOVED.\n'823 if resp == 'yes':825 elif resp == 'no':829 raise ValueError('Did not understand: ' + resp)