FS#122 - Http::Response::GetField should be case insensitive

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1160 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2009-07-10 12:01:51 +00:00
parent f1f5f7ba3d
commit e3973714b2

View File

@ -178,7 +178,7 @@ myMinorVersion(0)
////////////////////////////////////////////////////////////
const std::string& Http::Response::GetField(const std::string& Field) const
{
FieldTable::const_iterator It = myFields.find(Field);
FieldTable::const_iterator It = myFields.find(ToLower(Field));
if (It != myFields.end())
{
return It->second;