From dd1b2a530b8df129aae225fb17642852fdfba4fa Mon Sep 17 00:00:00 2001 From: "ananta@chromium.org" Date: Fri, 16 Sep 2011 18:13:34 +0000 Subject: 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 --- chrome_frame/urlmon_url_request.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chrome_frame/urlmon_url_request.cc') 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; -- cgit v1.1