Commit 10ff5e1e authored by David McCullough's avatar David McCullough Committed by Alexandre Julliard

HTTP_HttpSendRequestW was getting invoked with a null verb, default to

the GET method.
parent fd91013b
......@@ -1506,10 +1506,11 @@ BOOL WINAPI HTTP_HttpSendRequestW(LPWININETHTTPREQW lpwhr, LPCWSTR lpszHeaders,
INTERNET_SetLastError(0);
/* We must have a verb */
/* if the verb is NULL default to GET */
if (NULL == lpwhr->lpszVerb)
{
goto lend;
static const WCHAR szGET[] = { 'G','E','T', 0 };
lpwhr->lpszVerb = WININET_strdupW(szGET);
}
/* if we are using optional stuff, we must add the fixed header of that option length */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment