diff --git a/src/common/webrequest_curl.cpp b/src/common/webrequest_curl.cpp index 075b49cdd4..25c2ec28ed 100644 --- a/src/common/webrequest_curl.cpp +++ b/src/common/webrequest_curl.cpp @@ -219,6 +219,12 @@ void wxWebRequestCURL::Start() curl_easy_setopt(m_handle, CURLOPT_INFILESIZE_LARGE, static_cast(m_dataSize)); } + else + { + wxFAIL_MSG(wxString::Format( + "Supplied data is ignored when using method %s", m_method + )); + } } if ( m_method.CmpNoCase("HEAD") == 0 )