diff options
author | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-04 16:23:47 +0000 |
---|---|---|
committer | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-04 16:23:47 +0000 |
commit | c80e9841c2dc96cc4d4048ca74ee16f7903e5d42 (patch) | |
tree | ed5925baf87396d86090a6d1aea93ec364c3cebf /chrome_frame/urlmon_url_request.cc | |
parent | fcb191cab31b4273d309548f9e4a0fa44b403b30 (diff) | |
download | chromium_src-c80e9841c2dc96cc4d4048ca74ee16f7903e5d42.zip chromium_src-c80e9841c2dc96cc4d4048ca74ee16f7903e5d42.tar.gz chromium_src-c80e9841c2dc96cc4d4048ca74ee16f7903e5d42.tar.bz2 |
Add support for the DELETE method.
TEST=See bug description.
BUG=45384
Review URL: http://codereview.chromium.org/2675001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48934 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/urlmon_url_request.cc')
-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 73ea5c8..093b19f 100644 --- a/chrome_frame/urlmon_url_request.cc +++ b/chrome_frame/urlmon_url_request.cc @@ -448,7 +448,8 @@ STDMETHODIMP UrlmonUrlRequest::GetBindInfo(DWORD* bind_flags, } else if (LowerCaseEqualsASCII(method(), "put")) { bind_info->dwBindVerb = BINDVERB_PUT; upload_data = true; - } else if (LowerCaseEqualsASCII(method(), "head")) { + } else if (LowerCaseEqualsASCII(method(), "head") || + LowerCaseEqualsASCII(method(), "delete")) { std::wstring verb(ASCIIToWide(StringToUpperASCII(method()))); bind_info->dwBindVerb = BINDVERB_CUSTOM; bind_info->szCustomVerb = reinterpret_cast<wchar_t*>( |