mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
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:
parent
f1f5f7ba3d
commit
e3973714b2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user