Discussion:
Help setting HTTP/1.0
(too old to reply)
buzz
2004-03-05 18:11:40 UTC
Permalink
I am using WinInet on a PPC2003 device. I wish to use HTTP/1.0 for my
requests, but can't.

1. I pass "HTTP/1.0" to HttpOpenRequest.
2. I call the following:

HTTP_VERSION_INFO hvi;
hvi.dwMajorVersion = 1;
hvi.dwMinorVersion = 0;

res = ::InternetSetOption(NULL, INTERNET_OPTION_HTTP_VERSION, &hvi,
sizeof(HTTP_VERSION_INFO));

3. I have set registry key HKCU/Software/Microsoft/.../Internet
Explorer/EnableHttp1_1 to zero.

None of these steps seem to work, IIS is still showing the request protocol
as HTTP/1.1.

Any suggestions?
buzz
2004-03-05 18:50:33 UTC
Permalink
More info: This appears to only be a problem with PPC2003. I can set
HTTP/1.0 on PPC2002 devices.
Help!
Post by buzz
I am using WinInet on a PPC2003 device. I wish to use HTTP/1.0 for my
requests, but can't.
1. I pass "HTTP/1.0" to HttpOpenRequest.
HTTP_VERSION_INFO hvi;
hvi.dwMajorVersion = 1;
hvi.dwMinorVersion = 0;
res = ::InternetSetOption(NULL, INTERNET_OPTION_HTTP_VERSION, &hvi,
sizeof(HTTP_VERSION_INFO));
3. I have set registry key HKCU/Software/Microsoft/.../Internet
Explorer/EnableHttp1_1 to zero.
None of these steps seem to work, IIS is still showing the request protocol
as HTTP/1.1.
Any suggestions?
Loading...