Java – does the HTTP protocol version “http / 1.1” contain HTTPS?
•
Java
I don't actually see this problem, perhaps because it is so basic
I am using java Apache httpcomponent and check the return:
I made Apache httppost = new httppost(“ https://login.blah.com/etc ”);
Does this mean that I successfully connected to this using HTTPS (that is, my connection successfully used HTTPS instead of regular HTTP)?
thank you
Solution
Yes
HTTP and HTTPS come from content sent at the application level
HTTPS is basically HTTP through TLS tunnel
Therefore, when a connection is established, it is HTTPS
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码