[Bug 29715] New: winhttp method "HEAD" is broken
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Jan 27 00:57:31 CST 2012
http://bugs.winehq.org/show_bug.cgi?id=29715
Bug #: 29715
Summary: winhttp method "HEAD" is broken
Product: Wine
Version: 1.3.37
Platform: x86
URL: http://netikka.net/dev/winhttphead.exe
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: winhttp
AssignedTo: wine-bugs at winehq.org
ReportedBy: ocean04 at suomi24.fi
Classification: Unclassified
small sample: http://netikka.net/dev/winhttphead.exe
Method HEAD should usually return very quickly, but instead it takes ages for
any url I tried.
fhttp:=createoleobject('WinHttp.WinHttpRequest.5.1');
fhttp.open('HEAD', edit1.text, false);
fhttp.send();
memo1.text:=fhttp.getallresponseheaders;
edit2.text:=inttostr(fhttp.status);
edit3.Text:=fhttp.statustext;
Here it fails immediately with ole error
Url:
http://javadl.sun.com/webapps/download/GetFile/1.6.0_30-b12/windows-i586/jre1.6.0_30-c-l.msi
in winhttp log I see 2 problems. For some reason server returns "302 Moved
Temporarily". It tries follow and uses GET method.
winetricks winhttp -> server correctly returns 200
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list