aboutsummaryrefslogtreecommitdiff
path: root/web/mime-url-encoding.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-03-18 22:17:49 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-03-27 17:28:44 +0300
commit35359f038f571dc46de3d14af72a2bc911fb0a24 (patch)
treede3e89d678e78b9efc4d395274fd7ccc68f4a213 /web/mime-url-encoding.hxx
parent8ad672cc7211952716ffe1fbf76c179b4f1149e3 (diff)
Implement brep-monitor
Diffstat (limited to 'web/mime-url-encoding.hxx')
-rw-r--r--web/mime-url-encoding.hxx32
1 files changed, 0 insertions, 32 deletions
diff --git a/web/mime-url-encoding.hxx b/web/mime-url-encoding.hxx
deleted file mode 100644
index b9d2a76..0000000
--- a/web/mime-url-encoding.hxx
+++ /dev/null
@@ -1,32 +0,0 @@
-// file : web/mime-url-encoding.hxx -*- C++ -*-
-// license : MIT; see accompanying LICENSE file
-
-#ifndef WEB_MIME_URL_ENCODING_HXX
-#define WEB_MIME_URL_ENCODING_HXX
-
-#include <string>
-
-namespace web
-{
- // URL-encode characters other than unreserved (see RFC3986). If the query
- // flag is true, then the encoding is applied to the URL query part, and so
- // convert space characters to plus characters rather than percent-encode
- // them.
- //
- std::string
- mime_url_encode (const char*, bool query = true);
-
- std::string
- mime_url_encode (const std::string&, bool query = true);
-
- // If the query flag is true, then convert plus characters to space
- // characters (see above). Throw std::invalid_argument if an invalid encoding
- // sequence is encountered.
- //
- std::string
- mime_url_decode (const char* b, const char* e,
- bool trim = false,
- bool query = true);
-}
-
-#endif // WEB_MIME_URL_ENCODING_HXX