From feeb9f206e4e8b93083a5ea80ec7456ddadb6998 Mon Sep 17 00:00:00 2001 From: Veloman Yunkan Date: Sun, 18 Apr 2021 14:30:16 +0400 Subject: [PATCH] /catalog/v2/* XMLs are OPDS 1.2 --- static/catalog_v2_categories.xml | 3 ++- static/catalog_v2_root.xml | 3 ++- test/server.cpp | 6 ++++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/static/catalog_v2_categories.xml b/static/catalog_v2_categories.xml index 5592849e..4955b52a 100644 --- a/static/catalog_v2_categories.xml +++ b/static/catalog_v2_categories.xml @@ -1,5 +1,6 @@ - + {{feed_id}} - + {{feed_id}} GET("/catalog/v2/root.xml"); EXPECT_EQ(r->status, 200); const char expected_output[] = R"( - + 12345678-90ab-cdef-1234-567890abcdef GET("/catalog/v2/categories"); EXPECT_EQ(r->status, 200); const char expected_output[] = R"( - + 12345678-90ab-cdef-1234-567890abcdef