diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-16 18:13:34 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-16 18:13:34 +0000 |
commit | dd1b2a530b8df129aae225fb17642852fdfba4fa (patch) | |
tree | 372d73d8df82c3b3242f01d1bd1dee9f34bdca98 | |
parent | b8d9e92060972f9f9a98b825710116747e371b89 (diff) | |
download | chromium_src-dd1b2a530b8df129aae225fb17642852fdfba4fa.zip chromium_src-dd1b2a530b8df129aae225fb17642852fdfba4fa.tar.gz chromium_src-dd1b2a530b8df129aae225fb17642852fdfba4fa.tar.bz2 |
Fix a regression in ChromeFrame which resulted in PROPFIND requests not including the body of the request.
Fixes bug http://code.google.com/p/chromium/issues/detail?id=95534
BUG=95334
Review URL: http://codereview.chromium.org/7906012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101525 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome_frame/urlmon_url_request.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome_frame/urlmon_url_request.cc b/chrome_frame/urlmon_url_request.cc index 376cd36..42474fd 100644 --- a/chrome_frame/urlmon_url_request.cc +++ b/chrome_frame/urlmon_url_request.cc @@ -470,7 +470,8 @@ STDMETHODIMP UrlmonUrlRequest::GetBindInfo(DWORD* bind_flags, } if (bind_info->dwBindVerb == BINDVERB_POST || - bind_info->dwBindVerb == BINDVERB_PUT) { + bind_info->dwBindVerb == BINDVERB_PUT || + post_data_len() > 0) { // Bypass caching proxies on upload requests and avoid writing responses to // the browser's cache. *bind_flags |= BINDF_GETNEWESTVERSION | BINDF_PRAGMA_NO_CACHE; |