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:
parent
1b0784cca3
commit
af01dd2d82
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in New Issue