From c2552e88fd355c2e081ffa2cf34b5630103ae86e Mon Sep 17 00:00:00 2001 From: Thulinma Date: Mon, 21 Mar 2011 00:57:48 +0100 Subject: [PATCH] Random edits --- util/http_parser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/http_parser.cpp b/util/http_parser.cpp index ff32eda3..36557fbd 100644 --- a/util/http_parser.cpp +++ b/util/http_parser.cpp @@ -178,7 +178,7 @@ bool HTTPReader::parse(){ if (f != std::string::npos){url = tmpA.substr(0, f); tmpA.erase(0, f+1);} f = tmpA.find(' '); if (f != std::string::npos){protocol = tmpA.substr(0, f); tmpA.erase(0, f+1);} - //TODO: GET variable parsing + //TODO: GET variable parsing? }else{ if (tmpA.size() == 0){ seenHeaders = true; @@ -194,7 +194,7 @@ bool HTTPReader::parse(){ } if (seenHeaders){ if (length > 0){ - //TODO: POST variable parsing + //TODO: POST variable parsing? if (HTTPbuffer.length() >= length){ body = HTTPbuffer.substr(0, length); HTTPbuffer.erase(0, length);