Fix misspelling of the Referer HTTP header (issue #619).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@660 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2012-06-01 17:41:30 +00:00
parent 1b0784cca3
commit af01dd2d82
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ void CefRequestImpl::Get(net::URLRequest* request) {
} }
CefString referrerStr; CefString referrerStr;
referrerStr.FromASCII("Referrer"); referrerStr.FromASCII(net::HttpRequestHeaders::kReferer);
HeaderMap headerMap = headermap_; HeaderMap headerMap = headermap_;
HeaderMap::iterator it = headerMap.find(referrerStr); HeaderMap::iterator it = headerMap.find(referrerStr);
if (it == headerMap.end()) { if (it == headerMap.end()) {