aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-03-26 13:28:07 +0100
committerGitHub Enterprise <[email protected]>2024-03-26 13:28:07 +0100
commit66cf5342b2fe8bd3f2961dc70b9c302bf4de12bf (patch)
tree16dfe666651653f03342dd502e85bbfecd4448c2 /src/zenhttp/include
parentremove redundant json11 includes (diff)
downloadzen-66cf5342b2fe8bd3f2961dc70b9c302bf4de12bf.tar.xz
zen-66cf5342b2fe8bd3f2961dc70b9c302bf4de12bf.zip
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
Diffstat (limited to 'src/zenhttp/include')
-rw-r--r--src/zenhttp/include/zenhttp/httpserver.h2
1 files changed, 2 insertions, 0 deletions
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();