diff --git a/http/exposures/files/generic-db.yaml b/http/exposures/files/generic-db.yaml index f1f4d041b6..811540a3c6 100644 --- a/http/exposures/files/generic-db.yaml +++ b/http/exposures/files/generic-db.yaml @@ -147,10 +147,9 @@ http: - 200 # SQLite file always starts with "SQLite format {sqlite_version}" - - type: word - part: body - words: - - "SQLite format " + - type: dsl + dsl: + - 'startswith(body, "SQLite format ")' # SQLite file usually contains "CREATE TABLE", meaning there is at least one table - type: word