summaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-12-28 04:08:35 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2010-12-28 04:08:35 +0100
commitb77ba4c739d25768dc56b47a929d800266c3230b (patch)
treef3bdb5d479eb800ce0b931721846116f37a90849 /http.h
parent6b7c665baaf6023ee1cd935a953711fe65fff73b (diff)
Added a shady url decoder for paths.
Diffstat (limited to 'http.h')
-rw-r--r--http.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/http.h b/http.h
index 3ab66dc..ef6e43c 100644
--- a/http.h
+++ b/http.h
@@ -14,6 +14,7 @@ class HTTPRequest {
std::string type, path, httpver;
HTTPHeaders headers;
HTTPRequest(std::istream& is);
+ static void url_decode(std::string& str);
};
class HTTPResponse {