diff options
-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*>( |