@Nullable
    @WorkerThread
    public static InputStream getResponseStream(final Single<Response> response) {
        try {
            return response.flatMap(withSuccess).blockingGet().body().byteStream();
        } catch (final Exception ignored) {
            return null;
        }
    }
Get the response stream. The stream must be closed after use.

@param response the response
@return the body stream
main/src/main/java/cgeo/geocaching/network/Network.java