summaryrefslogtreecommitdiffstats
path: root/wsd/FileServer.hpp
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2019-02-10 15:19:03 -0400
committerHenry Castro <hcastro@collabora.com>2019-03-05 18:53:20 -0400
commitfcfc257162e106f48b2864820c435fd836588a41 (patch)
tree05664d76ada928d862c54730f3d44bb95bfa7785 /wsd/FileServer.hpp
parentwsd: tokenize symbol "_('') _("")" (diff)
downloadonline-fcfc257162e106f48b2864820c435fd836588a41.tar.gz
online-fcfc257162e106f48b2864820c435fd836588a41.zip
wsd: create a static function "parse"
Change-Id: Ifffae9a0d38bf64c41863a98395a2f41a6470441
Diffstat (limited to 'wsd/FileServer.hpp')
-rw-r--r--wsd/FileServer.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/wsd/FileServer.hpp b/wsd/FileServer.hpp
index 45cf7538bf..c5a5133cd3 100644
--- a/wsd/FileServer.hpp
+++ b/wsd/FileServer.hpp
@@ -21,6 +21,7 @@ class FileServerRequestHandler
static std::string getRequestPathname(const Poco::Net::HTTPRequest& request);
static void getToken(std::istringstream&, std::string&);
+ static void parse(const std::locale&, std::istringstream&, std::ostringstream&, const std::function<bool(const std::string&)>&);
static void preprocessFile(const Poco::Net::HTTPRequest& request, Poco::MemoryInputStream& message, const std::shared_ptr<StreamSocket>& socket);
static void preprocessAdminFile(const Poco::Net::HTTPRequest& request, const std::shared_ptr<StreamSocket>& socket);
public: