mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
[#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:
parent
973a7fa591
commit
02688a4a3f
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user