From 66cf5342b2fe8bd3f2961dc70b9c302bf4de12bf Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Tue, 26 Mar 2024 13:28:07 +0100 Subject: add filter to projectstore entries request (#25) * Add HttpServerRequest::Decode to decode http request parameters * Add support to filter projectstore `entries` request using the `fieldfilter` where the wanted fields are comma (,) delimited * Add support for responding with compressed payloads for projectstore `entries` requests by adding AcceptType `compressed-binary` to the request header * Add support for responding with compressed payloads for projectstore `files` requests by adding AcceptType `compressed-binary` to the request header * Add support for responding with compressed payloads for projectstore `chunkinfo` requests by adding AcceptType `compressed-binary` to the request header --- src/zenhttp/include/zenhttp/httpserver.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/zenhttp/include') diff --git a/src/zenhttp/include/zenhttp/httpserver.h b/src/zenhttp/include/zenhttp/httpserver.h index 1089dd221..7b87cb84b 100644 --- a/src/zenhttp/include/zenhttp/httpserver.h +++ b/src/zenhttp/include/zenhttp/httpserver.h @@ -62,6 +62,8 @@ public: } }; + static std::string Decode(std::string_view PercentEncodedString); + virtual bool TryGetRanges(HttpRanges&) { return false; } QueryParams GetQueryParams(); -- cgit v1.2.3