hi
to connecting a https server do I need certificate for my app or not? I usehttps flag on OpenRequest and Internetseioon classes but server detect my app as http not https!
thanks
hi
to connecting a https server do I need certificate for my app or not? I usehttps flag on OpenRequest and Internetseioon classes but server detect my app as http not https!
thanks
Unless your server requires the client to have a certificate, other than requesting a https url rather than http, I'm not aware that there's usually anything you need to do.
Can you elaborate on what you mean when you say "server detect my app as http not https"?
I send a http url to server that it is a redirection for a https url. but again I send https url the same response returned. both url are same on each character just differ on http and https. so the server think I send http link and send https redirected link again.
redirecting are as follow:
http-》https-》main url
example:
http://t.com/download?m=a.mp3 redirected to https://t.com/download?m=a.mp3 redirected to
https://dl.t.com/a.mp3
I suggest you could try to use INTERNET_FLAG_SECURE.
Yes, it works. But if confuse on INTERNET_FLAGS_*, Which of them is for GetHttpConnection() function and Which of them are for OpenRequest() function?
See the documentation, which says:
This flag is used by HttpOpenRequest and InternetOpenUrl, but this is redundant if https:// appears in the URL.The InternetConnect function uses this flag for HTTP connections; all the request handles created under this connection will inherit this flag.
12 people are following this question.