[#165] Fixed Setfield("User-Agent", "xxx") ignored in sf::Http::Request

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1565 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2010-09-08 08:34:05 +00:00
parent 973a7fa591
commit 02688a4a3f

View File

@ -137,7 +137,7 @@ std::string Http::Request::Prepare() const
////////////////////////////////////////////////////////////
bool Http::Request::HasField(const std::string& field) const
{
return myFields.find(field) != myFields.end();
return myFields.find(ToLower(field)) != myFields.end();
}