shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/FakeHttp.java
@Deprecated
  public static void addPendingHttpResponseWithContentType(int statusCode, String responseBody, Header contentType) {
    getFakeHttpLayer().addPendingHttpResponse(statusCode, responseBody, contentType);
  }
@Deprecated
  public static void addPendingHttpResponseWithContentType(int statusCode, String responseBody, Header contentType) {
    getFakeHttpLayer().addPendingHttpResponse(statusCode, responseBody, contentType);
  }
Sets up an HTTP response to be returned by calls to Apache's {@code HttpClient} implementers.

@param statusCode   the status code of the response
@param responseBody the body of the response
@param contentType  the contentType of the response
@deprecated use {@link #addPendingHttpResponse(int, String, org.apache.http.Header...)} instead