summaryrefslogtreecommitdiffstats
path: root/source/HTTPServer/HTTPMessage.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-05 23:08:16 +0200
committermadmaxoft <github@xoft.cz>2013-10-05 23:08:16 +0200
commitb5c90d7b20fede4e643e96417684c7c009d063cb (patch)
tree16729dacd792717ae4818dbe019b0fd02c58048a /source/HTTPServer/HTTPMessage.h
parentFixed Base64Decode() returning wrong value. (diff)
downloadcuberite-b5c90d7b20fede4e643e96417684c7c009d063cb.tar
cuberite-b5c90d7b20fede4e643e96417684c7c009d063cb.tar.gz
cuberite-b5c90d7b20fede4e643e96417684c7c009d063cb.tar.bz2
cuberite-b5c90d7b20fede4e643e96417684c7c009d063cb.tar.lz
cuberite-b5c90d7b20fede4e643e96417684c7c009d063cb.tar.xz
cuberite-b5c90d7b20fede4e643e96417684c7c009d063cb.tar.zst
cuberite-b5c90d7b20fede4e643e96417684c7c009d063cb.zip
Diffstat (limited to '')
-rw-r--r--source/HTTPServer/HTTPMessage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/HTTPServer/HTTPMessage.h b/source/HTTPServer/HTTPMessage.h
index 151eb468f..f5284c535 100644
--- a/source/HTTPServer/HTTPMessage.h
+++ b/source/HTTPServer/HTTPMessage.h
@@ -82,6 +82,9 @@ public:
/// Returns the URL used in the request
const AString & GetURL(void) const { return m_URL; }
+ /// Returns the URL used in the request, without any parameters
+ AString GetBareURL(void) const;
+
/// Sets the UserData pointer that is stored within this request. The request doesn't touch this data (doesn't delete it)!
void SetUserData(void * a_UserData) { m_UserData = a_UserData; }