title: Not getting response from HTTP Get Method
body: <p>Implemented an logic in go to fetch the information from given URL,The problem is response of net/http is empty.</p>
  
  <pre><code>package main
  
  import (
      "fmt"
      "io/ioutil"
      "net/http"
  )
  
  func main() {
      resp, err := http.Get("https://azure.microsoft.com/en-us/")
      if err != nil {
          // handle error
      }
      body, err := ioutil.ReadAll(resp.Body)
      bodyString := string(body)
      fmt.Print(bodyString)
      fmt.Printf("%v %v", body, err)
  }
  </code></pre>
  
  <p>Output: its returning empty slice instead of returning HTML content</p>
  
  <pre><code>[]byte{} &lt;nil&gt;
  </code></pre>
  
  <p>I'm using Go version 1.14.3.</p>