From fff771ee864975cee8c831651239bac95503c37a Mon Sep 17 00:00:00 2001 From: stickies-v Date: Tue, 18 Jan 2022 16:37:54 +0000 Subject: Handle query string when parsing data format URLs may contain a query string (prefixed with '?') and this should be ignored when parsing the data format. To facilitate testing this functionality, ParseDataFormat has been made non-static. --- src/Makefile.test.include | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Makefile.test.include') diff --git a/src/Makefile.test.include b/src/Makefile.test.include index 801745d0c6..dccf20749b 100644 --- a/src/Makefile.test.include +++ b/src/Makefile.test.include @@ -116,6 +116,7 @@ BITCOIN_TESTS =\ test/prevector_tests.cpp \ test/raii_event_tests.cpp \ test/random_tests.cpp \ + test/rest_tests.cpp \ test/reverselock_tests.cpp \ test/rpc_tests.cpp \ test/sanity_tests.cpp \ -- cgit v1.2.3 From a09497614e9bb603fff36286d9611a25b23eeb02 Mon Sep 17 00:00:00 2001 From: stickies-v Date: Wed, 5 Jan 2022 14:28:12 +0000 Subject: Add GetQueryParameter helper function Easily get the query parameter from the URI, with optional default value. --- src/Makefile.test.include | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Makefile.test.include') diff --git a/src/Makefile.test.include b/src/Makefile.test.include index dccf20749b..b889071306 100644 --- a/src/Makefile.test.include +++ b/src/Makefile.test.include @@ -95,6 +95,7 @@ BITCOIN_TESTS =\ test/fs_tests.cpp \ test/getarg_tests.cpp \ test/hash_tests.cpp \ + test/httpserver_tests.cpp \ test/i2p_tests.cpp \ test/interfaces_tests.cpp \ test/key_io_tests.cpp \ -- cgit v1.2.3