txxdhnt 发表于 2011-5-25 15:39:56

winhttp 是支持 https呀

本帖最后由 txxdhnt 于 2011-5-25 16:24 编辑

winhttp 是支持 https呀


; 指定连接到
Global $hConnect = _WinHttpConnect($hOpen, "https://www.***.com.cn/login.jsp") ; <- 在这里写入你的连接

出错呀


WinHTTP 5.1 Features
The following features have been added in version 5.1 of WinHTTP:

IPv6 support.
AutoProxy capabilities.
HTTP/1.0 protocol, including support for keep-alive (persistent) connections and session cookies.
HTTP/1.1 chunked transfer support for HTTP responses.
Keep-alive pooling of anonymous connections across sessions.
Secure Sockets Layer (SSL) functionality, including client certificates. Supported SSL protocols include the following: SSL 2.0, SSL 3.0, and Transport Layer Security (TLS) 1.0. Support for server and proxy authentication, including integrated support for Microsoft Passport 1.4 and the Negotiate/ Kerberos package.
Automatic handling of redirects unless suppressed.
Scriptable interface in addition to the API.
Trace utility to help troubleshoot problems.

netegg 发表于 2011-5-25 16:03:43

httpsk?https好像需要用别的,http好像打不开

txxdhnt 发表于 2011-5-25 21:47:33

本帖最后由 txxdhnt 于 2011-5-25 22:12 编辑

有高手知道吗?


这个方法 可以试试
_WinHttpConnect($hSession, $sServerName , $INTERNET_DEFAULT_HTTPS_PORT )

备 注

$iServerPort 可以通过 $INTERNET_DEFAULT_PORT, $INTERNET_DEFAULT_HTTP_PORT 或 $INTERNET_DEFAULT_HTTPS_PORT 定义全局常量

republican 发表于 2011-5-26 00:46:26

winHTTP当然支持HTTPs...不明白的搜我的udf

netegg 发表于 2011-5-26 08:28:39

回复 4# republican

不好意思,一时没找到   
#Include <WinHTTP.au3>
*SSLRequest
页: [1]
查看完整版本: winhttp 是支持 https呀