mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-10-02 15:00:02 +00:00
Remove debug text that was breaking the http response.
Also check if there are tabs in the mime parameter.
This commit is contained in:
parent
22a4503e0e
commit
5640cb5769
1 changed files with 2 additions and 9 deletions
|
@ -155,15 +155,8 @@ namespace tawashi {
|
||||||
|
|
||||||
template <typename V>
|
template <typename V>
|
||||||
bool operator() (const V& parIn) const {
|
bool operator() (const V& parIn) const {
|
||||||
std::cout << "simple_token_checker returning ";
|
return std::find(std::begin(parIn), std::end(parIn), ' ') == std::end(parIn) and
|
||||||
if (std::find(std::begin(parIn), std::end(parIn), ' ') == std::end(parIn)) {
|
std::find(std::begin(parIn), std::end(parIn), '\t') == std::end(parIn);
|
||||||
std::cout << "true\n";
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
std::cout << "false\n";
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
} //unnamed namespace
|
} //unnamed namespace
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue