首页 相关文章 在VC中WININET如何使用HTTP的POST方法

在VC中WININET如何使用HTTP的POST方法

SUMMARY
To properly simulate a Form submission using WinInet, you need to send a header that indicates the proper Content-Type. For Forms, the proper Content-Type header is: Content-Type: application/x-www-form-urlencoded

MORE INFORMATION
In many cases, the server does not respond appropriately if a Content-Type is not specified. For example, the Active Server Pages component of IIS 3.0 actually checks this header specifically for 'application/x-www-form- urlencoded' before adding form variables to th...[ 查看全文 ]

2016-02-19 标签:

在VC中WININET如何使用HTTP的POST方法的相关文章

手机页面
收藏网站 回到头部