code: private HttpResponse getResponse(StringBuilder q, String _id) throws URISyntaxException, IOException,
              ClientProtocolException
      {
          URI uri = new URI(CouchDBConstants.PROTOCOL, null, httpHost.getHostName(), httpHost.getPort(), _id,
                  q.toString(), null);
          HttpGet get = new HttpGet(uri);
          get.addHeader("Accept", "application/json");
          return httpClient.execute(httpHost, get, CouchDBUtils.getContext(httpHost));
      }
docs: Gets the response.
  
  @param q
  the q
  @param _id
  the _id
  @return the response
  @throws URISyntaxException
  the URI syntax exception
  @throws IOException
  Signals that an I/O exception has occurred.
  @throws ClientProtocolException
  the client protocol exception