diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-29 23:55:46 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-30 23:57:17 +0300 |
commit | 8f3d3956b1e837c726859eb8bbe19dad79c54a42 (patch) | |
tree | 81ded52db212b12c7f685165702cce90aa0233cf /web/mime-url-encoding | |
parent | ea60a6df471706a0eeb5ff1f774d69abe89e4bc9 (diff) |
Add hxx extension for headers and lib prefix for library dirs
Diffstat (limited to 'web/mime-url-encoding')
-rw-r--r-- | web/mime-url-encoding | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/web/mime-url-encoding b/web/mime-url-encoding deleted file mode 100644 index 9db0887..0000000 --- a/web/mime-url-encoding +++ /dev/null @@ -1,30 +0,0 @@ -// file : web/mime-url-encoding -*- C++ -*- -// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd -// license : MIT; see accompanying LICENSE file - -#ifndef WEB_MIME_URL_ENCODING -#define WEB_MIME_URL_ENCODING - -#include <string> -#include <iosfwd> - -namespace web -{ - // @@ Add the query flag (true by default). If true, then the encoding is - // applied to the URL query part, and so the plus character is used to - // encode the space character. Audit use cases afterwards. - // - void - mime_url_encode (const char* v, std::ostream& o); - - std::string - mime_url_encode (const char* v); - - std::string - mime_url_encode (const std::string& v); - - std::string - mime_url_decode (const char* b, const char* e, bool trim = false); -} - -#endif // WEB_MIME_URL_ENCODING |