diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-18 22:37:27 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-18 22:37:27 +0000 |
commit | d00441a4969e937127ed3952768d23ea58d7a987 (patch) | |
tree | 561c8e7ee6d95e2805904f8ec25aa9198ba4e8f1 /chrome_frame/http_negotiate.cc | |
parent | 4d55941c9ffb76a6a9d625bdefc97f112b68fc1c (diff) | |
download | chromium_src-d00441a4969e937127ed3952768d23ea58d7a987.zip chromium_src-d00441a4969e937127ed3952768d23ea58d7a987.tar.gz chromium_src-d00441a4969e937127ed3952768d23ea58d7a987.tar.bz2 |
Fix the failing ChromeFrame BeginningTransaction unit test. The user agent value in the http headers needs to be
terminated with a trailing \r\n\r\n combination instead of a single \r\n value.
TBR=stoyan
Review URL: http://codereview.chromium.org/3019010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52871 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/http_negotiate.cc')
-rw-r--r-- | chrome_frame/http_negotiate.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/http_negotiate.cc b/chrome_frame/http_negotiate.cc index db51fd5..b39312d 100644 --- a/chrome_frame/http_negotiate.cc +++ b/chrome_frame/http_negotiate.cc @@ -140,7 +140,7 @@ std::string AppendCFUserAgentString(LPCWSTR headers, } new_headers += "User-Agent: " + user_agent_value; - new_headers += "\r\n"; + new_headers += "\r\n\r\n"; return new_headers; } |