@WorkerThread
    @Nullable
    public static String getResponseData(final Single<Response> response, final boolean replaceWhitespace) {
        try {
            return response.flatMap(replaceWhitespace ? getResponseDataReplaceWhitespace : getResponseData).blockingGet();
        } catch (final Exception ignored) {
            return null;
        }
    }
Get the body of a HTTP response.

@param response          a HTTP response
@param replaceWhitespace {@code true} if {@link TextUtils#replaceWhitespace(String)}
                         should be called on the body
@return the body if the response comes from a successful HTTP request, {@code null} otherwise
main/src/main/java/cgeo/geocaching/network/Network.java