From e3973714b28f0499b5ac0d1f16a72ae5d0cf89e4 Mon Sep 17 00:00:00 2001 From: LaurentGom Date: Fri, 10 Jul 2009 12:01:51 +0000 Subject: [PATCH] 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 --- src/SFML/Network/Http.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Network/Http.cpp b/src/SFML/Network/Http.cpp index 76e2b7a63..cba960cb3 100644 --- a/src/SFML/Network/Http.cpp +++ b/src/SFML/Network/Http.cpp @@ -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;