Added header parsing and GetHeader() function.
authorjmille01 <jmille01@568bbfeb-2a22-0410-94d2-cc84cf5bfa90>
Sat, 6 Nov 2004 19:25:22 +0000 (19:25 +0000)
committerjmille01 <jmille01@568bbfeb-2a22-0410-94d2-cc84cf5bfa90>
Sat, 6 Nov 2004 19:25:22 +0000 (19:25 +0000)
commitdc4878361cf3bc7329071fc1b1de13b9be7eae96
treecbc5dd196ac069df75dc07f50f055c48d9bafdec
parent336504d25ea0d1b052876aa52ddf736c453ae78c
Added header parsing and GetHeader() function.

bool GetHeader(CStdString strName, CStdString& strValue)

Lookup is case-insensitive.  If header is found, value is placed in strValue and function returns true.  Otherwise it returns false.

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk/XBMC@2358 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
xbmc/utils/HTTP.cpp
xbmc/utils/HTTP.h