title: format of a https get request
body: <p>format of a https get request</p>
  
  <p>I was trying to implement a HTTPS get request.</p>
  
  <p>This is my sample HTTP get request.</p>
  
  <pre><code>GET example.com HTTP/1.1
  Date: Mon, 22 Feb 1857 12:27:07 GMT
  Host: xyz.com:5901
  User-Agent:
  Content-Length:  0
  </code></pre>
  
  <p>I have used SSL library to encrypt the message, but is there anyway to differentiate a HTTP message and https message with the request?
  Right now I have put a condition to call the SSL library, but I havent found any example where http request varies from https request.</p>
  
  <p>Can anyone guide me here.</p>