What is the difference between the HTTP module and the HTTPS module?

http.reques t"s protocol defaults to http , that is, it can be changed to https . Doesn"t that make a https request? The description of the Https module in the official document is also very simple, "the HTTPS protocol is implemented as a separate module." there is no clear distinction at all, and what happens when a http request is made to a Https server?

May.08,2021

1.https = http + ssl
2. In other words, both http and https essentially send http requests, except that https is a secure version, and the transmitted data is encrypted
3. To support https, browsers or clients that initiate requests, you need to support certificate resolution
4. What happens when a http request is made to a Https server? In general, servers that support https support http, to redirect requests from http to the address of https
5 for security reasons. Please refer to

I have figured out that the protocol of the options parameter of .http.request does not support the https protocol. To send a https request, you must use the https module. It's as simple as that. Maybe it's because I don't describe the problem well. Neither of the above two bigwigs has answered the question.


the difference between https module and http module is different when creating http services.
of course there is not much difference when you use request to request other http services. It is also very clear in the document

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bff1-2c2ce.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bff1-2c2ce.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?